crime library

Package to make Crime data requests, this api lets you retrieve crime information from 30+ cities across the US and LATAM. The api exposes four methods to retrieve raw crime date, crime statistics, crime coverage information and crime crowsourced data.

It's an implementation of the methods from the following known Crime data API provider crimeometer.com.

It has a FREE api key for testing purposes that can be found in the previous link, contact the API Provider to get more information about unlimited requests and it prices.

Exceptions / Errors

CrimeException
Exception class parent of all crime exceptions.
ForbiddenRequestException
Exception thrown when you're not alowed to send requests from your API Key.
LimitExceededRequestException
Exception thrown when you've reach a limit in your requests.
MandatoryApiKeyException
Exception thrown when the API Key is missing.