The service operates independently of the city of Oakland, Calif., and Oakland Police Department, but it repackages data from the city's own crime-mapping program, CrimeWatch. It emphasizes location-aware mapping of crime reports by date, type of offense, police precinct, and related details. Its goal is to aid in discovery of crime activity within the areas of specific homes, schools, and workplaces.
API methods allow retrieval of crime reports for specified crime types, police beats, and date ranges. Methods return reports with location information -- street address as well as latitude and longitude -- to aid in mapping.
Individual crime reports can be downloaded in a variety of formats, suitable for use in spreadsheets, feed readers, and more. All requests are simple HTTP GET, and there is no registration or authentication requirement.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.