This app is meant to be a JSON API server for the Washington University Police Beats. The API supports liking, disliking and commenting on individual police beats scraped from the http://police.wustl.edu site. The API is designed to use only GET requests and provides JSONP support so it can easily be integrated with http://www.studlife.com.
Returns a list of police beats with following params
- page: The page number to load
sort: Either sort by
pointsor get default sort of uid
- crime: Search for specific crimes
- location: Search for locations if a crime is provided
Returns an individual beat
Upvotes the beat and then returns the current vote object
Downvotes the beat and then returns the current vote object
Returns a list of all the beats that have the query text in their summary
Returns a list of crimes broken down by location.