A Python wrapper for the UK Police API
Instantiate the client:
client = pyrozza.Client()
Currently, the following methods are available:
client.street_level_crimes(
lat: float = None,
lon: float = None,
poly: List[tuple] = None,
date: str = None,
)
client.street_level_outcomes(
lat: float = None,
lon: float = None,
poly: List[tuple] = None,
location_id: int = None,
date: str = None
)
client.crime_categories(date: str = None)
For the geo-related kwargs, only one of the following must be provided:
lat
ANDlon
poly
location_id