Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 812 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 812 Bytes

ukpd

npm version CI

A Node.js client for the UK Police API.

Installation

  • npm install ukpd --save
const UKPD = require('ukpd')

try {
  const data = await UKPD.streetLevel(52.629729, -1.131592)
  console.log('data!', data)
} catch (err) {
  console.error('An error occurred', err)
}

You can find more information by looking at any of the available methods, or the examples.

Acknowledgements

All data is provided by data.police.uk under the Open Government Licence v3.0