Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!