loading...

GraphQL endpoint for getting stats of COVID19

Sharad Raj on March 22, 2020

I,ve created a GraphQL endpoint for getting stats of COVID19. Use it and send a pull on REPO, I'll add it to the showcase. Also I welcome all thos... [Read Full]
markdown guide
 

I really want to use this API! I tried to use this in a codesandbox and got a "Network error: Failed to fetch" error. Do I need to so anything special to use this?

 

It it fixed for you now ?

 

Thanks for posting this gql server! This is an interesting distraction in difficult times

 

Did u tried again, it's not a normal API btw you'll have to use a lil different code perform the fetch on /graphql

 

Can you please include that different code in your readme/docs to help? I tried it in code sandbox, and now again locally with create-react-app with Apollo set up. Still no luck

Hang on I'm setting up the docs

Awesome :) I got it working and am playing with building out the app. Will let you know when it is live!

 

Let me see and resolve the problem

 

Dude this is awesome! Thank you! :)

 
 

Could you provide a coordinates(longitude, latitude) endpoint as well? :)

Yeah I'll do it by today night

You're a champ man! Thank you so much! :D

I'll leave you a link here once I am done building the app :)

Welcome :) ... Cool looking forward

I've added them have a look

I don't see them, what are they named?

Alt text of image

 

Wow, can I use those data on my project? covidlive.it

 
 

Done! ✌️😷 covidlive.it/en

I found an inconsistency from your numbers and mine in Italy. Do you know why?

Cool submit a PR on repo...

and Why

 

Thanks !
You should also add yesterdayCases and yesterdayDeaths because most of the daily data are partial.

 

You're welcome...
Okay I'll add it by today night

 
code of conduct - report abuse