Chapter 5. Documenting Your API

Documentation is where developers come to learn about your API. Whether you’re providing a simple README file or developing a full website for your developers, it is critical to clearly document how they can most effectively use your API.

Jin, Sahnni, Shevan, Designing Web APIs, O’Reilly, 2018

In Chapter 4, you created your first API to fulfill the user stories identified in Chapter 1. The primary users you developed these for are data science users and advice website providers. The API will enable them to create analytics products such as dashboards, charts, and models using the Sports World Central (SWC) fantasy data. Now you will create documentation to help them use your API. Documentation and features such as software development kits (SDKs) improve the developer experience (DX) for your technical users.

Sending a Signal of Trust

An important part of your API docs is ...

Get Hands-On APIs for AI and Data Science now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.