Stack 4 - Week 2 - Practice 002 - Using the Yelp API

For this assignment you will practice with the Yelp API and the concept of pagination.

  • Use your API credentials to access the the Yelp api

  • You can choose the location and search term (food), but it must return more than 20 results so you can practice pagination!

  • Save the businesses as a records-oriented JSON file. (df.to_json(orient='records'))

  • Obtain ONLY the first two pages of results

  • Concatenate the results into one data frame

Here is a sample solution for you to explore.