Skip to content

happyleavesaoc/python-crimereports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-crimereports Build Status

Provides basic API to Crime Reports.

Install

pip install crimereports

Usage

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)

Development

Pull requests welcome. Must pass tox and include tests.

Disclaimer

Not affiliated with crimereports.com. Use at your own risk.