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 trialJohn Jones
Courses Plus Student 319 PointsHow to get the JSON API for the blog that was used
I do not understand how to get the JSON URL for another blogging site and there does not seem to be any help on other forums.
2 Answers
Jaroslav Vankat
12,054 PointsHi,
I would say that on the blog there has to be installed some kind of plugin (or script, or something like that) in order to export data in JSON format (like this for Wordpress - https://wordpress.org/plugins/json-api/). So I'd say you have to write your own script or the webmaster has to support that.
Kevin Nguyen
Courses Plus Student 64 PointsThank you so much for answering that!
Harry James
14,780 PointsYes, Jaroslav Vankat is right here in that you either require an additional modification or, the blog hosting company may already provide a JSON Format by default.
It's best to check this out with a quick Google search or with a query to your blog hosting company (That's the people who deal with the blog, not the web hosting) and they'll let you know :)