Search results

More REST API exercises

Keep current with the latest trends in technical communication by subscribing to the I'd Rather Be Writing newsletter. 4,500+ subscribers

To get more practice working with various APIs, I provide several examples in this Resources section. Working through these exercises will give you more exposure to different REST APIs, how they’re organized, the complexities and interdependency of endpoints, and more.

Available exercises

There are several examples with different APIs. A challenge is listed for each exercise. First, try to solve the challenge on your own. Then follow along in the sections below to see how I approached it.

In these examples, I usually printed the code to a web page to visualize the response. The following exercises are available:

Shortcuts for API keys

Each API requires you to use an API key, token, or some other form of authentication. You can register for your own API keys, or you can use my keys here.

Swap out APIKEY in code samples

I never insert API keys in code samples for a few reasons:

  • API keys expire
  • API keys posted online get abused
  • Customizing the code sample is a good thing

When you see APIKEY in a code sample, remember to swap in an API key there. For example, if the API key was 123, you would delete APIKEY and use 123.

106% Complete

106/111 pages complete. Only 5 more pages to go...


Want to buy me lunch? Click the Donate button below to donate $10 through Paypal.