0 purchases
postal code jp
📮postal_code_jp #
A dart package for Japan Post official postal code, a.k.a zip code, search and update.
Inspired by rinkei/jipcode.
Installation #
1. Depend on it #
dependencies:
postal_code_jp: ^1.0.1
copied to clipboard
2. Install it #
with pub:
$ pub get
copied to clipboard
with Flutter:
$ flutter pub get
copied to clipboard
3. Import it #
import 'package:postal_code_jp/postal_code_jp.dart';
copied to clipboard
Usage #
Search #
await PostalCodeJp.locate('1600022');
// => [{'postal_code': '1600022', 'prefecture': '東京都', 'city': '新宿区', 'town': '新宿'}]
copied to clipboard
Contributing #
Fork it
Create your feature branch (git checkout -b new_feature_branch)
Commit your changes (git commit -am 'Add some feature')
Push to the branch (git push origin new_feature_branch)
Create new Pull Request
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.