Examples of how to use the national CrimeScore rating API to get a safety score at any location.
Download all the files, put them on your server, and run crimescore-map.html in your browser
An example of this example in action can be seen at http://www.yourmapper.com/crimescore
In order to call the CrimeScore API and make the examples work, please visit https://www.mashape.com/yourmapper/crimescore and subscribe to the CrimeScore Mashape API. Documents and code samples are there to call the API securely from your server.
If the Mashape examples are proving difficult, see our APIUsage repo at https://github.com/YourMapper/APIUsage