Skip to main content

I wrote the page every developer reads first

Updated 1 min readMarkdown
Part of seriesIntroducing: Troyal.
I wrote the page every developer reads first

In my last post, I introduced Troyal, a fictional API for tracking music and film royalties, and shared the product brief, the API design and the README.

And now, I just wrote the Getting Started guide.

If you're a developer trying a new API, this is the page you open first. Its primary job is to get you from nothing to a working request as fast as possible.

My guide takes you through:

  • Getting an API key
  • Sending your first request to GET /works
  • Reading the response
  • Fixing the most common errors (401, 404 and 429)

The part I paid most attention to was the troubleshooting table. Errors are when a developer needs the docs most, and a clear "here's what went wrong and what to do" prevents frustration.

Everything is public on GitHub, and Part 3 will be the OpenAPI spec.

Troyal is fictional. The documentation is real.

https://github.com/joycefoster642/Troyal-API-Docs

About the author

This is excellent work!!!😍😍❤️❤️🥳✨🌸🩷❤️‍🔥❤️

Introducing: Troyal.

Part 2 of 2

I'm a technical writer building a fictional product called Troyal, an API for tracking music and film royalties, and writing the documentation for it from scratch. This series follows each step as I go, from the first idea to the finished docs, including the messy parts.

Start from the beginningI'm Building a Fictional API Just to Document It!Introducing: Troyal.