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 trialTareq Alothman
17,921 PointsAm trying to redo the blog reader app by using my own server, my problem is how to create the api that feeds the JSON?
how do i setup the api that will generate the JSON data to the app, i need to know how does the teamtreehouse blog url converts into JSON?
"http://blog.teamtreehouse.com/api/get_recent_summary/?count=" + NUMBER_OF_POSTS
I already created a php file on my server that grabs the data from mysql. However, the project does not work with php! i guess that i have to convert it or create an api :(
could there be any future workshops on how to do this?
Your help is greatly appreciated it!
1 Answer
Matheus G Oliveira
9,682 PointsHey Tareq,
try reading this forum post:, it should answer your question
https://teamtreehouse.com/forum/gettting-json-data-from-a-different-website