Caling a RESTful API from R
API Code-Along 1
We are going to use R and in particular the {httr2}
package to interact with the Metropolitan Museum of Art Collection API. In particular, we will leverage the API to answer the following questions:
- What are the departments contained in the museum?
- How many art pieces contain a shield?