关于
用于获取当前病例及其他 COVID-19 和流感相关信息的 API
数据与分析实测星标增长
- 24小时
- -1
- 7天
- 0
- 15天
- -2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Welcome to disease.sh - An open API for disease-related statistics
Check out our homepage and sign up for our newsletter here
Recommended by Postman
Disease.sh is recommended by Postman here
Run through databar.ai
If you don't know how to use APIs, you can use disease.sh without code through the databar.ai platform.
Documentation
Disease.sh Documentation can be found here
Installation
Without Docker
Redis
- Download redis from https://redis.io/topics/quickstart
- Start redis server using
redis-server
Project
- Fork and clone the git repository
- In the new folder you will find a
example.envfile, duplicate it and rename it to.envonly. - in the new
.envfile, changeREDIS_HOSTto localhost - Change the env variables to fit your environment (leave them blank for default values)
- In one window run
redis-server - Run
npm cito install the packages - In another window run
npm run start:dev - Open your browser and navigate to
localhost:{PORT}(PORT being the port specified in your.envfile) - You should now see the APIs landing page
With docker-compose
- Fork and clone the git repository
- In the new folder you will find a
example.envfile, duplicate it and rename it to.envonly. - Change the env variables to fit your environment (leave them blank for default values)
- Run
npm run docker-start-devto run the local version of the API with Docker - Run
npm run docker-startto run the published version of the API with Docker
Recommended Javascript Wrapper
For further support, you can join our discord server! More Tutorials can be found there too! https://discord.gg/cEDxzfW
Showcases (Awesome-NovelCOVID)
Did you build a project with our API? We now offer an "awesome-list" for you to add your projects into so people can find out about them!
You can find it here.
Sources:
https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data/csse_covid_19_time_series
https://www.canada.ca/en/public-health/services/diseases/2019-novel-coronavirus-infection.html
https://www.rki.de/DE/Content/InfAZ/N/Neuartiges_Coronavirus/Situationsberichte/Gesamt.html
Contributing
Contributors ✨
Thanks goes to these wonderful people (emoji key):
License
探索相关项目
加载中…