Skip to content

pnghai/postal_code_jp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📮postal_code_jp

pub package

Build Status

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

  1. Fork it
  2. Create your feature branch (git checkout -b new_feature_branch)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin new_feature_branch)
  5. Create new Pull Request

About

📮 A dart package for Japan Post official postal code, a.k.a zip code, search and update.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dart 92.6%
  • Shell 7.4%