Main objects are:
A format parameter is mandatory
URL endpoints are subject to change because the API is still a moving target.
If you have questions regarding the API interface please contact with mail Leon Berenschot or phone 06-30326921
http://burgerweeshuis.nl/api/v2/events.:format
Formats:
Returns: all upcoming events
http://burgerweeshuis.nl/api/v2/events.xml
http://burgerweeshuis.nl/api/v2/events.json
http://burgerweeshuis.nl/api/v2/events.rss
http://burgerweeshuis.nl/api/v2/events.ics
http://burgerweeshuis.nl/api/v2/events/past.:format(?page=:page)
Formats:
Returns: 15 records per page
http://burgerweeshuis.nl/api/v2/events/past.xml
http://burgerweeshuis.nl/api/v2/events/past.json
http://burgerweeshuis.nl/api/v2/events/past.xml?page=2
http://burgerweeshuis.nl/api/v2/events/past.json?page=2
http://burgerweeshuis.nl/api/v2/events/confirmed.:format
Formats:
Returns: 10 records
http://burgerweeshuis.nl/api/v2/events/confirmed.xml
http://burgerweeshuis.nl/api/v2/events/confirmed.json
http://burgerweeshuis.nl/api/v2/events/confirmed.rss
http://burgerweeshuis.nl/api/v2/events/:id.:format
Formats:
Returns: 1 record
http://burgerweeshuis.nl/api/v2/events/2902-Megafaun.xml
http://burgerweeshuis.nl/api/v2/events/2902-Megafaun.json
http://burgerweeshuis.nl/api/v2/events/2902-Megafaun.ics
http://burgerweeshuis.nl/api/v2/events/2902.xml
http://burgerweeshuis.nl/api/v2/events/2902.json
http://burgerweeshuis.nl/api/v2/events/2902.ics
http://burgerweeshuis.nl/api/v2/events/calendar/:year(/:month(/:day)).:format
Formats:
Returns: all records for given filter
http://burgerweeshuis.nl/api/v2/events/calendar/2011.xml
http://burgerweeshuis.nl/api/v2/events/calendar/2011.json
http://burgerweeshuis.nl/api/v2/events/calendar/2011/9.xml
http://burgerweeshuis.nl/api/v2/events/calendar/2011/9.json
http://burgerweeshuis.nl/api/v2/events/calendar/2011/9/3.xml
http://burgerweeshuis.nl/api/v2/events/calendar/2011/9/3.json
http://burgerweeshuis.nl/api/v2/news.:format(?page=:page)
Formats:
Returns: 10 records per page
http://burgerweeshuis.nl/api/v2/news.xml
http://burgerweeshuis.nl/api/v2/news.json
http://burgerweeshuis.nl/api/v2/news.rss
http://burgerweeshuis.nl/api/v2/news.xml?page=2
http://burgerweeshuis.nl/api/v2/news.json?page=2
http://burgerweeshuis.nl/api/v2/news.rss?page=2
http://burgerweeshuis.nl/api/v2/news/:id.:format
Formats:
Returns: 1 record
http://burgerweeshuis.nl/api/v2/news/225-Programma-Popronde.xml
http://burgerweeshuis.nl/api/v2/news/225-Programma-Popronde.json
http://burgerweeshuis.nl/api/v2/news/225.xml
http://burgerweeshuis.nl/api/v2/news/225.json
http://burgerweeshuis.nl/api/v2/search.:format?q=:query
Formats:
Returns: an array mixed with News and Event objects
note: this method needs work, the returned array should be rooted properly, a.k.a. the collection contains News and Event objects and not only search
note: When there is no q parameter given the server will respond with http status 406 Not Acceptable
http://burgerweeshuis.nl/api/v2/search.xml?q=de%20staat
http://burgerweeshuis.nl/api/v2/search.json?q=de%20staat%
http://burgerweeshuis.nl/api/v2/tips.:format
Formats:
Returns: 2 records (latest 2 tips)
http://burgerweeshuis.nl/api/v2/tips.xml
http://burgerweeshuis.nl/api/v2/tips.json
http://burgerweeshuis.nl/api/v2/tips/:id.:format
Formats:
Returns: 1 record
http://burgerweeshuis.nl/api/v2/tips/225.xml
http://burgerweeshuis.nl/api/v2/tips/225.json
http://burgerweeshuis.nl/api/v2/media.:format
Formats:
Returns: 15 records
http://burgerweeshuis.nl/api/v2/media.xml
http://burgerweeshuis.nl/api/v2/media.json