Skip to content
Laumania edited this page Sep 13, 2012 · 7 revisions

To get data into our Windows Phone app we need to use the JSON API on windowsphonefan.dk. The two API methods listed below should be enough to get us started with the app. There are more methods we can call, but to keep things simple, let's start out with these two.

HINT: If you are using Google Chrome, I really recommend using an extension like JSONView which will put up the JSON nicely formatted for you in the browser.

Get Recent Posts

Path: http://www.windowsfan.dk/api/get_recent_posts

Get Post (by id)

Path: http://www.windowsfan.dk/api/get_post/?id=6171

Get Categories

Path: http://www.windowsfan.dk/api/get_category_index/

Get Category Posts

Path: http://www.windowsfan.dk/api/get_category_posts/?id=3

Full API documentation

http://wordpress.org/extend/plugins/json-api/other_notes/