-
Notifications
You must be signed in to change notification settings - Fork 1
Middleware API
davbo edited this page Dec 3, 2011
·
4 revisions
This API presents the data from https://scraperwiki.com/scrapers/scrape_the_eventsheffield_dataset/ to the mobile app.
Request
http://some.server/get?type={events}&lat={lat}&lon={lon}&radius={radius}&order={distance|date}
Response
events [
{
title:"title",
description:"description",
venue_name:"venue_name",
venue_id:venue_id,
loc: [lat, lon],
distance:distance,
occurrence : {
when:{datetime}|{pattern}
}
},
title:"title",
description:"description",
venue_name:"venue_name",
venue_id:venue_id,
loc: [lat, lon],
distance:distance
{
title:"title",
description:"description",
venue_name:"venue_name",
venue_id:venue_id,
loc: [lat, lon],
distance:distance
},
{
title:"title",
description:"description",
venue_name:"venue_name",
venue_id:venue_id,
loc: [lat, lon],
distance:distance
}
]