This GraphQL API provides updated real-time data on coronavirus cases from the worldometers page and other important websites, provided by the most reputable organizations and statistical offices in the world.
Project started, and in development process. More information in the next days / weeks.
Installation of all dependencies
npm install
Start local server Local server port assigned to PORT 3000
npm run start
GraphQL Playground
http://localhost:3000/graphql
- PRMedicalAidDistribution
query{
PRMedicalAidDistribution{
recipient_Name
city
county
state
first_shipment
last_shipment
weight_lbs
country
facility_type
number_of_deliveries
cost
}
}
- PRDataByTowns
query{
PRDataByTowns{
table{
attributes{
town
health_region
total_cases
}
}
}
}
- HospitalDataAndNeeds
query{
PRHospitalDataAndNeeds{
table{
attributes{
T_Camas_Adult_Disp
T_Camas_Adult_Int_Disp
T_Camas_Adult_Int_Occ
T_Camas_Ped_Int_Disp
T_Camas_Ped_Int_Occ
T_Cuartos_PSINeg_Disp
T_Cuartos_PSINeg_Occ
T_Vent_Adult_Disp
T_Vent_Adult_Occ
T_Vent_Ped_Disp
T_Vent_Ped_Occ
T_Morgue_Disp
T_Morgue_Occ
// ......
}
}
}
}
- PRBiosecurityDataByRegion
query{
PRBiosecurityDataByRegion{
table{
attributes{
RegionSalud
Region
Total
}
}
}
}
COVID19 GraphQL API is an open source project licensed by MIT with continuous development. If you want me to continue maintaining this library and you are interested in continuing to use it, you can help me with a monetary help in the following link:
These are projects that take a lot of effort and time to maintain. So with your help I will be more motivated to continue maintaining the COVID19 API project.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
- Chris Michael (Project Leader, and Developer)
This is just a personal project created for study / demonstration purpose and to simplify my working life, it may or may not be a good fit for your project(s).
Please ⭐ this repository if you like it or this project helped you!
Feel free to open issues or submit pull-requests to help me improving my work.
Chris Michael
Copyright © 2020 COVID19 GraphQL API.