Rather than present abstract concepts, this course contextualizes REST APIs with a more direct, hands-on approach. You learn about API documentation in the context of using a simple weather API to put a weather forecast on your site.
As you use the API, you learn about cURL, JSON, endpoints, parameters, data types, authentication, and other details associated with REST APIs. The point is that, rather than learning about these concepts independent of any context, you learn them by immersing yourself in a semi-real scenario.
After you use the API as a developer might, you then shift perspectives and become a technical writer tasked with documenting a new endpoint that has been added to the API.
As a technical writer, you tackle each element of a reference topic in REST API documentation:
- Resource descriptions
- Endpoint definitions and methods
- Sample requests
- Sample responses
- Error codes
- Code samples
By the end of the workshop, you’ll have a solid understanding of how to document REST APIs.
No programming knowledge required. This courses focuses entirely on REST APIs, not platform APIs such as Java, C++, or .NET APIs.
- Text editor. (Sublime Text is a good option (both Mac and PC). On Windows, Notepad++ and Komodo Edit are also good. )
- Chrome browser. (Other browsers are fine too, but we’ll be using Chrome’s developer console.)
- Postman - REST Client (Chrome app)
- cURL. cURL is essential for making requests to endpoints from the command line.
Note that your computer needs to be able to connect to a wifi network.
The workshop lasts 3 hours.