WellyRoadAlerts Twitter bot back in business thanks to JSON
11 08 2008It seems AA have updated their site using the GeoSmart Mapping API. I noticed they use an AJAX request to grab a JSON encoded object that neatly describes all the information I need. The JSON object not only breaks the incident data down into component parts but also includes NZMG map coordinates so I can choose exactly the bounding box I want to capture alerts from.
This change actually made it easier to take the twitter bot from a flaky hack to something a bit more robust in just a few minutes. I’m not sure if they intended that when they built the new version of the site, but it shows how using a really simple format like JSON for data interchange can deliver mash-up potential.
I hope AA don’t mind me scraping their data, if they do, they are welcome to get in touch.
http://twitter.com/WellyRoadAlerts





