Context
OpenWeather’s Current Weather Data API is a valuable resource for developers, but its documentation could be improved.
Problem
The existing docs made first-time integration slow and unclear, especially around auth, rate limits, and example requests.
My role
My goal was to revamp the documentation to help developers integrate the API quickly and effectively.
Approach
- Audited the current docs and tested the API to map friction points.
- Wrote an OpenAPI spec to power reference docs and consistent examples.
- Built a task-focused quickstart and clarified auth and rate limits.
Process
- Exploring the API: I created an account and tested the API using Postman to gain a deep understanding of its capabilities and limitations.
- Taking a developer-centric approach: while testing the API, I focused on the onboarding process and learning experience for developers.
- Analyzing the existing documentation: I identified ways to improve navigation, usability, and the developer experience.
- Building the content:
- I created an OpenAPI definition that describes the API.
- I used Mintlify to generate the API reference documentation and an interactive playground.
- I created a getting started guide and pages about the API, rate limits, and authentication methods.
Results
- A getting started guide walks developers through making their first API call, reducing the onboarding time.
- An interactive playground enables developers to make API calls directly within the documentation.
Impact
- Faster time-to-first-call thanks to the quickstart and examples.
- Fewer integration blockers by clarifying auth and rate limits upfront.
Takeaways
- Walking in the developer’s shoes was crucial for identifying areas for improvement.
- Choosing the right tools streamlined the documentation process and made it more interactive.