All Projects → ahmedsadman → covid19-bd

ahmedsadman / covid19-bd

Licence: GPL-3.0 License
Public API for accessing district-wise dataset and daily stats for Covid-19 in Bangladesh. Data is pulled from IEDCR reports

Programming Languages

python
139335 projects - #7 most used programming language
Mako
254 projects

Projects that are alternatives of or similar to covid19-bd

covid19-italy
Quick streamlit dashboard to visualise the impact of COVID-19 in Italy
Stars: ✭ 24 (-17.24%)
Mutual labels:  covid-19, covid
CoronaVirusOutbreakAPI
A tiny and small program to crawler and analyze outbreak of COVID-19 in world and every country using PHP.
Stars: ✭ 20 (-31.03%)
Mutual labels:  covid-19, covid
SPREAD
Spread visualizes how viruses and other pathogens are spreading in time and space. It creates compellable shareable, interactive and time-animated visualization.
Stars: ✭ 9 (-68.97%)
Mutual labels:  covid-19, covid
covid-pass-verifier
🦠 Scan, parse and verify HCERT compliant government-issued COVID-19 passes.
Stars: ✭ 25 (-13.79%)
Mutual labels:  covid-19, covid
data2019nCoV
COVID-19 Pandemic Data R Package
Stars: ✭ 40 (+37.93%)
Mutual labels:  covid-19, covid
vaccipy
Automatische Impfterminbuchung für www.impfterminservice.de
Stars: ✭ 548 (+1789.66%)
Mutual labels:  covid-19, covid
Pandemic-Produce-Delivery-Project
An ongoing open-source e-commerce shop using React, Express, Firebase, and MongoDB. Designed for pandemic-relief and social good. New contributors are always, always, welcomed, regardless of where you are 🔥. Feel free to reach out at [email protected]~
Stars: ✭ 20 (-31.03%)
Mutual labels:  covid-19, covid
corona tracker
COVID-19 tracking app - submission for https://wirvsvirushackathon.org/
Stars: ✭ 13 (-55.17%)
Mutual labels:  covid-19, covid
rid-covid
Image-based COVID-19 diagnosis. Links to software, data, and other resources.
Stars: ✭ 74 (+155.17%)
Mutual labels:  covid-19, covid
app
CovidTrace mobile app.
Stars: ✭ 19 (-34.48%)
Mutual labels:  covid-19, covid
Covid19arData
Data COVID-19 Argentina actualizada y en formatos abiertos.
Stars: ✭ 51 (+75.86%)
Mutual labels:  covid-19, covid
covid-19
COVID-19 World is yet another Project to build a Dashboard like app to showcase the data related to the COVID-19(Corona Virus).
Stars: ✭ 28 (-3.45%)
Mutual labels:  covid-19, covid
COVID-19-historical-data-visualization-2019-nCoV-
使用BlankerL提供的数据仓库实现的新型冠状病毒疫情数据可视化
Stars: ✭ 47 (+62.07%)
Mutual labels:  covid-19, covid
covid-xprize
Open-source repository containing examples and documentation for the Cognizant XPRIZE Pandemic Response Challenge
Stars: ✭ 36 (+24.14%)
Mutual labels:  covid-19, covid
covid19 scenarios data
Data preprocessing scripts and preprocessed data storage for COVID-19 Scenarios project
Stars: ✭ 43 (+48.28%)
Mutual labels:  covid-19, covid
coviddata
Daily COVID-19 statistics by country, region, and city
Stars: ✭ 49 (+68.97%)
Mutual labels:  covid-19, covid
flatten-the-curve
COVID-19: By the numbers. Presenting country comparisons and adjustable cumulative graphs. Looking for another developer to keep this up to date
Stars: ✭ 18 (-37.93%)
Mutual labels:  covid-19, covid
corona
به فکر خودتان باشید...
Stars: ✭ 16 (-44.83%)
Mutual labels:  covid-19, covid
cotect
🛡Crowd-sourced COVID-19 reporting and assessment system.
Stars: ✭ 14 (-51.72%)
Mutual labels:  covid-19, covid
us-covid19
Data repository of State's Health Department stats for COVID19 in the United States
Stars: ✭ 37 (+27.59%)
Mutual labels:  covid-19, covid

Covid-19 Bangladesh: District-wise data

License: GPL v3

NOTICE: This project is no longer maintained

This is a public REST API for accessing district-wise data and daily stats for Covid-19 in Bangladesh. This data is periodically pulled from the IEDCR reports, which is generally published after evening in Bangladesh (UTC+6) time. Stats are pulled from official government website for Corona.

Usage Permissions

As it is public API, you're free to use it for your projects. In your work, you must explicitly provide credits and also a link to this repository. For more detailed information please check LICENSE file.

Documentation

Caching

Developers should cache the last successful response. Because the server will be occassionally disabled to save minutes of free-tier Heroku dyno. If I get enough support, I will be able to migrate to a premium server and thus eliminate this issue.

Stats

GET: https://corona-bd.herokuapp.com/stats

The success response returns data (JSON) in the following format:

{
    "death": {
        "last24": 4,
        "total": 131
    },
    "positive": {
        "last24": 503,
        "total": 4689
    },
    "recovered": {
        "last24": 191,
        "total": 2101
    },
    "test": {
        "last24": 4,
        "total": 112
    },
    "updated_on": "Fri, 24 Apr 2020 18:20:59 GMT"
}

The field updated_on shows time in UTC/GMT

District Counts

GET: https://corona-bd.herokuapp.com/district

The success response returns data (JSON) in the following format:

{
    "data": [
        ...
        {
            "id": 1,
            "name": "Dhaka",
            "count": 700,
            "prev_count": 600
        }
        ...
    ],
    "updated_on": "Fri, 24 Apr 2020 18:20:59 GMT"
}

WARNING: Do not depend on the id field, as it might change over time. You're advised to work with name directly.

The prev_count (previous count) keeps track of the last record before updating to the new counts. The updated_on field is recorded based on UTC time (not Bangladesh time which is UTC+6)

More features such as area-wise report for Dhaka city might be added later

Development

Feel free to contribute and make the API feature-rich. For this to work, you have to have Python buildpack.

Install the Python requirements pip install -r requirements.txt and you're good to go. You also have to set some environment variables in .env file in the root directory. Please check the provider module to know more about these variables.

Donate

Currently this service is hosted in free servers. To provide uninterrupted service, I need to migrate to a premium plan and also buy a domain.

Many of you are using this service. If you can contribute I will be grateful from the bottom of my heart. I have calculated that I would need around 8$ per month to bear the server costs. Just click the button below to donate.

Buy Me A Coffee

If you want to donate using some local payment gateways like bKash, just drop an email at [email protected].

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].