code_postaux 1.0.2
Search french city name and INSEE code by zip code.
French postal codes API for Dart
Search city name and INSEE code by zip code.
Based on the official postal codes database from La Poste and fixed by Christian Quest.
Usage in the browser
import 'package:code_postaux/code_postaux_html.dart';
main() async {
List<City> cities = await find("31000"); // a list of cities corresponding to zip code 31000
}
Usage in the vm
import 'package:code_postaux/code_postaux_io.dart';
main() async {
List<City> cities = await find("31000"); // a list of cities corresponding to zip code 31000
}