Created
December 6, 2013 16:01
-
-
Save davemenninger/7827177 to your computer and use it in GitHub Desktop.
gets temperatures from odot road sensors around cincinnati
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl 'http://www.ohgo.com/Dashboard.aspx/getRoadSensorMarkers' \ | |
-X POST \ | |
-H 'Accept: */*' \ | |
-H 'Accept-Encoding: gzip, deflate' \ | |
-H 'Accept-Language: en-US,en;q=0.5' \ | |
-H 'Cache-Control: no-cache' \ | |
-H 'Connection: keep-alive' \ | |
-H 'Content-Type: application/json; charset=utf-8' \ | |
-H 'Host: www.ohgo.com' \ | |
-H 'Pragma: no-cache' \ | |
-H 'Referer: http://www.ohgo.com/dashboard/cincinnati' \ | |
-H 'X-Requested-With: XMLHttpRequest' \ | |
-H 'Content-Length: 258' \ | |
-d '{"pointRequestData":{"lowLongitude":-85.29291259765625,"highLongitude":-83.94708740234375,"lowLatitude":38.70790550075222,"highLatitude":39.61298338372197,"zoomLevel":10,"trueArea":"","routeDirection":"","routeName":"","regionList":"","citySide":""},"id":""}' \ | |
| json_pp \ | |
| grep 'Temp' \ | |
| sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment