Introducing the LocalHero API. Actually LocalHero has always had an APi to get data from the backend, it was designed and built that way from the beginning. But I have just got a around to adding some documentation so others can use it too….

These API’s are/will be the same as the ones I use throughout the site either currently or in the future.

FYI

for instance you can get html content at the following url:

http://localhero.biz/index/southwest/-37.839_144.9398/northeast/-37.7955_144.9934/

in geoRSS

http://localhero.biz/index/southwest/-37.839_144.9398/northeast/-37.7955_144.9934/xsl/application_rss+xml/

or JSON

http://localhero.biz/index/southwest/-37.839_144.9398/northeast/-37.7955_144.9934/xsl/text_javascript/

any url can be transferred to being a feed url by adding either xsl/application_rss+xml/ for geoRSS
or xsl/text_javascript/ for JSON.