Extending WordPress REST API

There are no answers here yet, but atleast we ended up using a combination of WP REST API and WP OAuth Server. The WP REST API was really easy to work with, as it provided a common framework to respond to HTTP requests. I found it similar to ASP.NET Web API, as that’s the framework … Read more

How to integrate Yelp API

Working with any API is distinctly different and custom, however in a nutshell there are two components two implement and WP APIs that go with them: Request data from API. Since most modern web APIs are REST this is basically making HTTP request. In WordPress network requests are performed with HTTP API. Store data. This … Read more

Displaying Content with WP Rest API

I will assume you want to use PHP to display this data directly using a template, there are alternatives such as using another language or actually creating posts via the API. Simply put you want to take the JSON string and convert it into a PHP object or array using json_decode. http://php.net/manual/en/function.json-decode.php. Once the JSON … Read more