dgfmdrv / covid19-grafana-datasource

JSON Datasource providing Covid-19 data for Grafana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Covid-19 JSON API

Visualize Covid-19 data in Grafana using the JSON Datasource plugin.

API Endpoint

This API is running at https://covid19-grafana.herokuapp.com/. Just add the API Endpoint to the URL field of your datasource to visualize the data in Grafana.

Data

The API endpoint uses data provided by https://github.com/CSSEGISandData/COVID-19 and transformed to JSON by https://pomber.github.io/covid19.

Develop and run locally

Install dependencies

pipenv install --dev

Run application

ENVIRONMENT=development FLASK_DEBUG=true FLASK_APP=src/app pipenv run flask run

Test application

PYTHONPATH=src ENVIRONMENT=test pipenv run mamba src/tests

About

JSON Datasource providing Covid-19 data for Grafana

License:MIT License


Languages

Language:Python 65.2%Language:HTML 34.8%