-
Notifications
You must be signed in to change notification settings - Fork 1
- get User submitted events GET:/http://www.techup.lu/api/user?id=username , username is the twitterhandler
return is a JSON object
{"user":
{"id":123,
"username":"twitter",
"submitted":[
{"id":123,
"title":"event title",
"description":"description as Markdown",
"startdate":"20120711T190000",
"enddate":"20120711T190000",
"price":null,
"url":"http://wiki.hackerspace.lu/wiki/Open_Access_and_Digitization_in_the_Copyright_era",
"hashtag":"used_hashtag",
"twitterhandler":"eventTwitterHandler",
"languages":["Luxembourgish"],
"tags":["Copyright","Digitization","OpenAccess"],
"attendees":["attendee1", "attendee2"],
"venue":{"name":"Syn2Cat (Hackerspace), Luxembourg","lat":49.616245,"lon":6.0709844,"adress":"11, rue de cimetière, Strassen","url":"http://www.hackerspace.lu","verified":true}
}]
}
- get Events by Venue GET:/http://www.techup.lu/api/venue?id=venueid&past=true|false&future=true|false , venueid can be ID of venue or name of Venue
return is a JSON object
{"venue":
{"id":123,
"name":"venue name",
"verified":true or false, //Venue verified by techup
"events":[
{"id":123,
"title":"event title",
"description":"description as Markdown",
"startdate":"20120711T190000",
"enddate":"20120711T190000",
"price":null,
"url":"http://wiki.hackerspace.lu/wiki/Open_Access_and_Digitization_in_the_Copyright_era",
"hashtag":"used_hashtag",
"twitterhandler":"eventTwitterHandler",
"languages":["Luxembourgish"],
"tags":["Copyright","Digitization","OpenAccess"],
"attendees":["attendee1", "attendee2"],
"submitter": userWhoSubmitted
}]
}