postal_code_jp 1.1.0 postal_code_jp: ^1.1.0 copied to clipboard
A dart package for Japan Post official postal code, a.k.a zip code, search and update.
📮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
2. Install it #
with pub:
$ pub get
with Flutter:
$ flutter pub get
3. Import it #
import 'package:postal_code_jp/postal_code_jp.dart';
Usage #
Search #
await PostalCodeJp.locate('1600022');
// => [{'postal_code': '1600022', 'prefecture': '東京都', 'city': '新宿区', 'town': '新宿'}]
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