Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

About

a simple node wrapper around the UK police data API

Resources

License

Packages

No packages published
You can’t perform that action at this time.