From the course: Introduction to Web APIs
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Challenge: Explore the Giphy API - REST Tutorial
From the course: Introduction to Web APIs
Challenge: Explore the Giphy API
(zestful music) - [Instructor] Let's take what you've learned about working with the GIPHY API and try a little challenge. We found GIFs for squirrels. Now change it up. Find random GIFs for something else you're interested in, and, as an extra bonus, we'll learn something else in this challenge. Another one of my favorite animals is the adorable sea otter, so that's what I would choose next. But squirrel is only one word. Sea otter is two. How do we enter a parameter with more than one word? We haven't talked about that yet. For parameters with multiple words, we use the plus sign. So to have sea otter as our value for the tag parameter, we would enter sea + otter. So for this challenge, I'd encourage you to also try using a tag value of more than one word. Then let's display more information about the random GIF. The response data includes a title for each random GIF. Let's grab that and display it as text, kind…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Authentication with an API key4m 42s
-
(Locked)
Make a request to the Giphy API4m 13s
-
(Locked)
Filter response with parameters2m 9s
-
(Locked)
Access data in the response2m 2s
-
(Locked)
Use the response data in HTML1m 15s
-
(Locked)
Challenge: Explore the Giphy API1m 24s
-
(Locked)
Solution: Explore the Giphy API1m 50s
-
(Locked)
-
-
-