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:

  1. 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.

  2. Store data. This is much more varied and heavily depends on specifics ofAPI and data it provides. Common storage options are Custom Post Types and Transients, with more elaborate options (such as creating additional database tables) available.