In this chapter, we will be building an API Manager. This manager will be responsible for anything that has to do with getting data from the internet. When dealing with data online, you will typically get i0t in a particular format, which you then need to convert into something that your app can read.
Creating an API Manager
What is an API?
A RESTful API is a web service from which an app can receive data. Typically, when you are dealing with APIs, such as YELP, they tend to change often. For our purposes, we want to use static files so that we can work on this project without having to be concerned about changes to the API. Therefore, most of the data we are going to use comes from the http://opentable.herokuapp.com/ site...