Kleak / code_postaux

French postal codes API for Dart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
}

About

French postal codes API for Dart

License:Other


Languages

Language:Dart 100.0%