/areapi

API for Areas

Primary LanguageJavaScriptMIT LicenseMIT

areAPI Semver license Open Source Love LinkedIn

areaAPI

API for Areas

Routing

https://[host]/api/[area]/[year]/find?latitude=[lat]&longitude=[lon]&showall=[true/false]&format=[json/jsonp/xml]

Examples

Parameters

Parameter Type Description Valid Default Required
area string Type of area. cma, bta N/A required
year numeric Date of data. 1990, 2000, 2010 N/A required
latitude numeric Latitude of a location. -90 to 90 N/A required
longitude numeric Longitude of a location. -180 to 180 N/A required
format string File format of output. json, jsonp, xml json optional
showall boolean Return multiple areas. true, false true optional