Skip to content

A library written in PHP to access the police.uk official UK crime statistics database (http://policeapi2.rkh.co.uk/api/docs/)

Notifications You must be signed in to change notification settings

garbit/crimePhighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

This library allows you to interface with the Police.UK crime statistics API found @http://policeapi2.rkh.co.uk/api/docs/

In order to use this you must first have a developer username + password provided here @http://policeapi2.rkh.co.uk/api/docs/signup/

To use this class you just need to instantiate it, passing in your credentials and calling the methods available


**************************************************
Example
**************************************************

include('Police API/cPoliceAPI.php');
$policeAPI = new cPoliceAPI(YOUR_USERNAME, YOUR_PASSWORD);
echo '<pre>';
print_r($policeAPI->getCrimeCategories());
echo '</pre>';

About

A library written in PHP to access the police.uk official UK crime statistics database (http://policeapi2.rkh.co.uk/api/docs/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages