@lecorreyann/search-addresses-france
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

search-addresses-france

ts

Search french addresses with France Gouv API Adresse

Install

npm i @lecorreyann/search-addresses-france

How to use?

Request

import getAddressesFrance, {
  Address,
} from "@lecorreyann/search-addresses-france";

const query = "19 rue du Creux";
const response: Address[] = await getAddressesFrance(query);

Response

Address[]

[
  {
    postal_code: string;
    city: string;
    road: string;
    number: string;
    country: string;
    latitude: number;
    longitude: number;
  }
]

Readme

Keywords

none

Package Sidebar

Install

npm i @lecorreyann/search-addresses-france

Weekly Downloads

0

Version

1.0.5

License

GPL-3.0

Unpacked Size

56.4 kB

Total Files

19

Last publish

Collaborators

  • lecorreyann