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 trialAlfredo Arroyo
1,993 Pointshow can I make and api for my blog?
Basically the title is clear. I want to use the "api/get_recent_summary" in my wordpress blog. I've tried to use the plugin but theres no "get_recent_summary". I'll appreciate any help.
1 Answer
Ernest Grzybowski
Treehouse Project ReviewerI've used a plugin called "JSON API" with Wordpress before. Get it here: http://wordpress.org/plugins/json-api/
The documentation for how to use it can be found here: http://wordpress.org/plugins/json-api/other_notes/
From the documentation:
Explicit mode examples:
- http://www.example.org/?json=get_recent_posts
- http://www.example.org/?json=get_post&post_id=47
- http://www.example.org/?json=get_tag_posts&tag_slug=banana
With user-friendly permalinks configured: