Initialized swagger
fixes #126 (closed)
- Made 3 api documentations
- Serving the docs on /api/docs path
- Making use of JSDocs
- Custom documentation css styles, better UI
- Tests can be made on local development servers as well as production API
Testing API here
Click on the Authorize button. |
---|
Fill in the API key created from carbonhub profile page and click Authorize |
---|
Now you can try and send any API requests |
---|
Response will be showed as a JSON object |
---|
2nd commit edit
Creating tags for different APIs
3rd commit edit
Documentation added for transport API endpoints
/vehicle
/flight
/trains
4th commit edit
Documentation added for Global API endpoints
/agriculture
/food
/land
/sector
5th commit edit
Documentation added for Emission API endpoints
Electricity
Airplane
Vehicle Fuel
Trains
Trees
Appliances