✨ API Hub ✨
So I use a lot of free and open API's all the time for random apps, experiments and even production ready apps. And time after time I have to relearn their end-points, parameters, query formats and dig through their documentations and more so I can understand their responses and convert them all into suitable formats and that has been tiring. 😵
So I decided to make APIHub, a parent API to all other APIs. I don't have to relearn end-points, dig through their documentations, convert responses to JSON and go through the hassle anymore. I only have to learn this one API and that's it! 🥳
Best Features
- Not only does it handle basic requests but it also handles nested requests automatically. So your frontend only has to request once, whole the API handles all nested requests and responds with a complete response
- It extends query parameters. It goes further than the basic API usage provided; it handles calculations, date conversions, response limits, data filters, date ranges and so much more.
- All responses are JSON and It's got a predictable error response and handling.
Currently Integrated APIs
- 🐙 GitHub (opens in a new tab)
- 🌨 WeatherAPI (opens in a new tab)
- 💻 HackerNews (opens in a new tab)
- 💰 CoinGecko (opens in a new tab)
- 👩🚀 APOTD (opens in a new tab)
- 🥙 MealDB (opens in a new tab)
- 📚 Google Books (opens in a new tab)
- 👽 RedditAPI (opens in a new tab)
- 📰 NewsAPI (opens in a new tab)
- 🎬 TheMovieDB (opens in a new tab)
- 🎶 Lyrics (opens in a new tab)
- 👤 JSON Placeholder (opens in a new tab)
- 🏳️ REST Countries (opens in a new tab)
- 🥋 [Chuck Norris] (chucknorris.io)
APIs To Be Integrated Soon
- Your Favorite API
Documentation (opens in a new tab)
- We have a very detailed and extensive documentation that helps you navigate the entire project.
Contribution
The project uses HonoJS (opens in a new tab) and TypeScript (opens in a new tab) which makes your DX so nice. And the entire codebase has been commented and a documentation is being generated. So if you'd like to expand this hub and basically make the lives of so many devs easy, help by contributing.
You can help support the project in three ways. ✨
- By Contributing
- Fork this repo
- Create a new .ts file in routes folder
- Import the file in index.ts
- Implement basic routes for the endpoints
- Add functions that ease life
- Comment well
- Open a PR
- By Starring the Repo
- By Sharing this Project to Your Friends and Community
You can use this Public APIs Repository (opens in a new tab) for inspiration and APIs to implement.