This repo contains working examples of how to use the Ordnance Survey Places API, a RESTful API based on OS AddressBase Premium datasets. The API returns queries to the service in either XML or JSON, and through a 'find' resource enables rapid searches of AddressBase Premium to drill down and isolate ambiguous addressing details. The 'match' resource is for more granular matching and cleansing of existing address databases. Neither features needs any database management of AddressBase Premium. 'Postcode' searches need the area and district integers as a minimum. There are JQuery examples using getJSON and examples using typeahead.js. Additionally Leaflet and Openlayers examples are provided to facilliate the Geosearch resources.
Register for an API key of OS Places API here.
Full documentation for the OS Places API can be found here, while service terms for OS Places API can be found here.
These demos are released under the Apache 2.0 License.