Postcoder geocoding
Simple node wrapper for geocoding endpoints of the Postcoder API from Allies.
Find out more about the geocoding API and sign up for a trial to get an API key
The API allows searching for forward and reverse UK geocoding. Note: This is a paid for API
For full developer documentation
Install
npm install postcoder-geocoding
https://www.npmjs.com/package/postcoder-geocoding
Basic usage
const geocoding = ; geocoding; geocoding;
Also returns OS Eastings and Northings.
Return street level data as well as latitude and longitude
const geocoding = ; geocoding; geocoding;
Returns street name, county name and more alongside the same fields as the geoFromPostcode method, full list of fields
Reverse geocoding (street level data)
const geocoding = ; geocoding; // Passing in latitude, longitude and radius (metres)geocoding;
Check status of your API key
Returns an object with information about number of credits on your account and more
const geocoding = ; geocoding; geocoding;
Note about support
This is a community supported package, maintained by Stephen Keable