Skip to content

jbuchbinder/wp-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP API

Wordpress api in JSON format

Description

wp-api translates your whole wordpress blog into a JSON formatted api. you can use many different methods to retrieve information about posts, pages, authors, tags and categories. You may also use the api methods to submit new comments.

We had to write this plugin from ground up because we were working on an adobe air mobile project that required us to show posts from a wordpress site! we're still upgrading the app and we need to upgrade this api even more also. so we decided to put it up on wordpress directory for everyone to use and have fun :)

to get detailed description on how to use the api, go to wp-api page from the 'settings' menu to see the methods and examples.

Installation

  1. Upload the wp-api folder to /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to wp-api page in the Settings menu

Frequently Asked Questions

Are you going to upgrade this plugin to do more stuff?

Yes, there are many features that we're hoping to add to the api. it's just a matter of time. please feel free to follow us on facebook for the latest news and updates to the plugin.

Screenshots

  1. Sample JSON output by wp-api

Changelog

GIT

  • Add support for selecting posts by category slug name.
  • Add support for Advanced Custom Fields information, when the plugin is installed.
  • Add support for single page querying by page slug (get_page).

1.0.3

  • Fixed comment parents. you can choose which parent to post your comment to.

1.0.2

  • Set type argument for get_posts and search method
  • Create Continue reading for post_excerpt
  • Change nicename to nickname in all methods

1.0.1

  • Removed jQuery for better performance in the control panel

1.0

  • Uploaded to wordpress directory

Upgrade Notice

1.0.3

  • fixed comment parents. you can chooes which parent to post your comment to.

1.0.2

  • set type argument for get_posts and search method
  • create Continue reading for post_excerpt
  • change nicename to nickname in all methods

1.0.1

  • removed the jQuery for better performance in the control panel

1.0

Fresh installation