To get a list of all the genderless Pokemon species, you’d call. Let’s try exploring the Pokemon species endpoint. Even scoped just to the games, PokeApi has over 9,000 different kinds of data in their database. Since Pokemon has movies, TV shows, and comics it would be overwhelming for one API to cover everything. This API only returns data about the Pokemon video game franchise. Supposedly, PokeApi handles 17 million requests per month.
If you copy the url value out of that code and load it in your browser, you should see a super adorbs gif or image.Ĭheck out the Dog API documentation (dogumentation?) to learn what else you can do. Going back to the example API response above, for the key width, the value would be 560. You should see some code in the browser that looks like this:īut what does it mean? Many REST APIs give you a response that’s formatted as JSON (JavaScript Object Notation.) The data comes in pairs of keys and values that are colon-separated. Congratulations, you just made an API call! ? ? To try it out, navigate to in your browser. The Dog API allows you to search for dog photos, find information about different dog breeds, and more. What can we say - they’re good APIs, Brent.
If you want to learn about how to call APIs from your JavaScript code, check out this blog post on making HTTP requests in Node.js.ħ APIs that are better than sliced bread The Dog API My personal favorite programming language, JavaScript, just so happens to be the world’s most popular programming language.
If you’ve never written a line of code, don’t fret - we’ll show you how to get started.
No matter what your experience level, this post will show you 7 fun and silly APIs you can play with and build on top of.