10 React Challenges: #7 Fetch Data from an API


A number of web applications and sites rely on third-party APIs and services for data. In this React challenge, we will learn to make an API request to a third party API service. This is an open API. Hence, it requires no authentication.

For this challenge, you will utilize an open Game of Thrones API to fetch and display all the 12 Game of Thrones books alongside individual details of each book.

CodePen Final: https://codesandbox.io/s/r094p6ylkq
CodePen Starter: https://codesandbox.io/s/vyp663nv77

To learn more about DigitalOcean: https://www.digitalocean.com/
Follow us on Twitter: https://twitter.com/digitalocean
Like us on Facebook: https://www.facebook.com/DigitalOcean
Follow us on Instagram: https://www.instagram.com/thedigitalocean
We’re hiring: http://grnh.se/aicoph1


Duration: 00:10:18
Publisher: DigitalOcean
You can watch this video also at the source.