dart_kenall 1.1.0 copy "dart_kenall: ^1.1.0" to clipboard
dart_kenall: ^1.1.0 copied to clipboard

outdated

Unofficially Kenall API Client.

example/dart_kenall_example.dart

import 'package:dart_kenall/dart_kenall.dart';
import 'package:http/http.dart' as http;

Future<void> main() async {
  final config = Config(
    apiKey: '', // set your api key.
  );
  final kenallClient = KenallClient(config, http.Client());
  final response = await kenallClient.getCities(
    prefectureCode: prefectureCode['東京都']!,
  );
  print(response.cities[0].toJson());
}
1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Unofficially Kenall API Client.

Homepage

License

unknown (license)

Dependencies

ansicolor, args, http, meta

More

Packages that depend on dart_kenall