Closed elitemaks closed 4 years ago
Is it just me who is unable to access the Documentation redirection ?
@ProBeta1 thanks for noticing, fixed.
Thanks for the collection -- queuing it up for adding to our list. Thanks.
Ok this has been included in #122 and upon review it will be merged.
@ProBeta1 hi, I checked the doc, and it seems like there Is missing base URL. All requests are listed like /regions, but the user cannot see the full request URL with base URL.
Documentation - https://documenter.getpostman.com/view/10724784/SzYXWz3x?version=latest
Base URL - https://covid-api.com/api
@ProBeta1 also, there is an error in the response format for /reports - we do not provide multiple regions in one call. It should be
report => { "region": { "cities": [] } },
instead of
report => { "region": [ { "cities": [] }, { "cities": [] } ] },
@elitemaks Thanks for noticing . I generated the collection directly using Import . I'll check the issue.
@elitemaks Have a look now :blush: And please check the original documentation , the response for the second request and the example iso code "CHN" is returning Server Error ..
@ProBeta1 thanks for fixing and thank you for noticing too! Fixed.
@ProBeta1 Hi, we added a new endpoint, /reports/total, here is an example - https://covid-api.com/api/reports/total?date=2020-04-07
Please let me know, what is the correct way of submitting changes to the documentation here.
Okay , I will add it .
@elitemaks Added :)
@ProBeta1 thank you, but is there a way I can edit documentation myself? We evolve this API and I need to reflect changes in the doc. Please advise.
Yeah @elitemaks , indeed there is . You need to fork the collection in your Postman App locally and then make the desired changes . When done , you may create a pull request , which would then be merged in the original collection.
Hi, I'd like to suggest the API developed by our team. It's based on public data provided by Johns Hopkins CSSE. Website - https://covid-api.com/