TMDB API Reference Documentation
This project is my Capstone project for the Technical Writing Mentorship Program (TWMP) API Docs Cohort. It is a reference documentation for The Movie Database (TMDB) API, designed to help developers easily understand and utilize 100+ API endpoints for retrieving movie, TV show, and entertainment-related data.
- Setting Up TMDB API Access:
- Created an account on TMDB.
- Obtained the necessary credentials, including the API key.
- Conducted a thorough review of the official TMDB API documentation.
- Examined all available API endpoints to understand their functionality and use cases.
- Tested each TMDB API endpoint using Postman.
- Verified responses, checked for errors, and documented different request parameters, descriptions, and expected responses.
- Created a structured Postman collection for TMDB API.
- Documented each endpoint, including:
- Request parameters
- Response formats
- Detailed descriptions
- Exported the documented API endpoints from Postman to an OpenAPI specification.
- Converted the JSON file to YAML using TWMP’s OpenAPI spec converter.
- Edited and refined the OpenAPI spec using Swagger Editor and VS Code.
- Conducted further testing to ensure accuracy.
i. Signed up on Mintlify and linked my GitHub account. ii. Started creating the API documentation on Mintlify, covering:
-
Introduction
-
Authentication
-
How to obtain an API key
-
API reference
-
API essentials etc
-
Customized the documentation’s look and feel using Mintlify components and custom CSS.
- Clone the Repository If this project is hosted on GitHub, you can clone it using:
git clone https://github.com/your-username/tmdb-api-docs.git
cd tmdb-api-docs
- Install Mintlify CLI (Optional for Local Development) If you want to run the documentation locally, install the Mintlify CLI:
npm install -g mintlify
- Start the Local Server To preview the documentation locally, run:
mintlify dev
Then, open http://localhost:3000
in your browser.
Demo You can view the live TMDB API documentation here: Live Documentation
If you’d like to contribute:
- Fork the repository
- Create a new branch (feature/your-feature-name)
- Make changes and commit
- Push your changes
- Submit a pull request
Conclusion This documentation provides a well-structured, developer-friendly reference for the TMDB API, improving accessibility, usability, and overall user experience.