Provides basic API to Crime Reports.
pip install crimereports
import datetime
from crimereports import CrimeReports
cr = CrimeReports((lat, lng), radius, miles=True)
for incident in cr.get_incidents(datetime.datetime.now().date(), None, ['Community Policing']):
print(incident)
Pull requests welcome. Must pass tox
and include tests.
Not affiliated with crimereports.com. Use at your own risk.