From the course: Introduction to Web APIs

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Challenge: Explore the Giphy API

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…

Contents