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 dans un navigateur

import 'package:code_postaux/code_postaux_html.dart';

List<City> cities = await find("31000"); // a list of cities corresponding to zip code 31000

Usage dans la vm

import 'package:code_postaux/code_postaux_io.dart';

List<City> cities = await find("31000"); // a list of cities corresponding to zip code 31000

Libraries

code_postaux_html
code_postaux_io