@aceandtate/clicktoaddress
TypeScript icon, indicating that this package has built-in type declarations

0.1.13 • Public • Published

clicktoaddress

GitHub license npm version Coverage Status CircleCI Status PRs Welcome

A clicktoaddress client

Usage

npm i @aceandtate/clicktoaddress
import createClient from '@aceandtate/clicktoaddress';

const { countries, find, retrieve } = createClient({ key: API_KEY });

const allCountries = await countries();
const country = allCountries[0].code;
const results = await find({
  query: '1094 PR 92 A',
  country,
});
const result = await retrieve({ id: results[2].id, country });
// you can check out the shape of the response here:
// https://craftyclicks.co.uk/docs/global/#retrieve

Package Sidebar

Install

npm i @aceandtate/clicktoaddress

Weekly Downloads

0

Version

0.1.13

License

MIT

Unpacked Size

91.6 kB

Total Files

29

Last publish

Collaborators

  • aceandtatedev
  • alexdudar
  • reaktivo
  • sofie.andersen