Reputation: 165
i need to get a website (any website ) in json format to use it with android and json parser to get data and if possible that the website include images to be able to download data and images using json parser. i have been searching about 2 days without any success, its my first time that i use json so i do know where to search and how to search.
what i need is a website to make a test on it that will be available in json format
anyone can help me ???
i will appreciate that.
Upvotes: 0
Views: 6426
Reputation: 2275
For future readers :
Facebook programmers provide the json format for each request.
All you have to do is :
If the facebook page url is : http://www.facebook.com/youtube
To get json format of page, request this : http://graph.facebook.com/youtube
I suggest to read that :
Usually standard web service today provide data in at least two format: json and xml for each endpoint (url), you just add .xml or .json extension to the requested url.
But most of the time you don't have to do that, common web services today always provide json data because it's defined in RESTFul rules. If they dont, you can't get the json. The case is same for you, just ask the developer for API docs.
Upvotes: 0
Reputation: 6879
Use http://www.jsontest.com/
to get JSON
from that website.
Read there and for example if you call http://ip.jsontest.com/
you will get a JSON response as {"ip": "203.92.62.242"}
then you can parse them in your android application.
Upvotes: 3