Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

How to get json data like blogreader app

I wonder if there is any tutorial how to return the same output as the following link: http://blog.teamtreehouse.com/api/get_recent_summary/?count=20 i want to display my own data in the app.

2 Answers

Do you already have some data stored in a CMS? Most CMS offer JSON feeds out of box or by installing a plug-in. If you don't have a data source yet, you can write a JSON file with any text editor, but it's definitely more comfortable with an application. You can do it in the browser http://www.jsoneditoronline.org/ or with apps from the App Store like this one https://itunes.apple.com/ch/app/cocoa-json-editor/id442160773?mt=12

Roger,

Thanks for your answer. This was exactly wat i need!