All Projects → Abdirahiim → covidtrackerapiwrapper

Abdirahiim / covidtrackerapiwrapper

Licence: MIT license
CovidSharp is a crossplatform C# API wrapper for the Coronavirus tracking API (https://github.com/ExpDev07/coronavirus-tracker-api)

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to covidtrackerapiwrapper

coviddata
Daily COVID-19 statistics by country, region, and city
Stars: ✭ 49 (+345.45%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, coronavirus-tracker, covid-19, covid19
COVID19
A web app to display the live graphical state-wise reported corona cases in India so far. It also shows the latest news for COVID-19. Stay Home, Stay Safe!
Stars: ✭ 122 (+1009.09%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, coronavirus-tracker, covid-19, covid19
coronainfobd
Real-time corona-virus tracker of Bangladesh 🇧🇩 which includes latest updates, data visualization, public awareness from WHO and some advice to aware people. 🥰❤
Stars: ✭ 46 (+318.18%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, covid-19, covid19
aarogya seva
A beautiful 😍 covid-19 app with self - assessment and more.
Stars: ✭ 118 (+972.73%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, covid-19, covid19
covid-19
An app made with Flutter to track COVID-19 case counts.
Stars: ✭ 47 (+327.27%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-tracker, covid-19, covid19
covid19-api
Covid19 Data API (JSON) - LIVE
Stars: ✭ 20 (+81.82%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, coronavirus-tracker, covid-19
align covid
Coronavirus time series aligned by number of cases, not date.
Stars: ✭ 22 (+100%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, coronavirus-tracker, covid19
Coronavirus
Java API Wrapper for tracking coronavirus (COVID-19, SARS-CoV-2) via https://git.io/Jvoep
Stars: ✭ 16 (+45.45%)
Mutual labels:  api-wrapper, coronavirus, coronavirus-tracker, covid-19, covid19
coronavirusrd
Web app to show information about the current cases of COVID 19 in Dominican Republic
Stars: ✭ 13 (+18.18%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-tracker, covid-19, covid19
COVID-19-DETECTION
Detect Covid-19 with Chest X-Ray Data
Stars: ✭ 43 (+290.91%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, covid-19, covid19
CoronaVirusOutbreakAPI
A tiny and small program to crawler and analyze outbreak of COVID-19 in world and every country using PHP.
Stars: ✭ 20 (+81.82%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, covid-19, covid19
covid19-visualized
COVID-19 World update with data Visualization (Include Indonesia cases)
Stars: ✭ 23 (+109.09%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-tracker, covid-19, covid19
CoronaVirusDatabase
A repository for analyzing references and database of "gisanddata.maps.arcgis.com" website for Corona Virus.
Stars: ✭ 38 (+245.45%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, covid-19, covid19
COVID19Py
A tiny Python package for easy access to up-to-date Coronavirus (COVID-19, SARS-CoV-2) cases data.
Stars: ✭ 86 (+681.82%)
Mutual labels:  api-wrapper, coronavirus, coronavirus-tracking, covid-19, covid19
COVID-19-Datasets
Novel Coronavirus (COVID-19) Cases for India, provided by University of Kalyani.
Stars: ✭ 19 (+72.73%)
Mutual labels:  coronavirus, coronavirus-tracking, covid-19, covid19
Coronavirus Tracker Api
🦠 A simple and fast (< 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the 🔥 FastAPI framework. Supports multiple sources!
Stars: ✭ 1,577 (+14236.36%)
Mutual labels:  coronavirus, coronavirus-tracker, covid-19, covid19
Corona Cli
🦠 Track the Coronavirus disease (COVID-19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (< 100ms). To chat: https://twitter.com/MrAhmadAwais/
Stars: ✭ 1,812 (+16372.73%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, covid-19
Covid19radar
Open Source / i18n / iOS Android Cross Platform Contact Tracing App by exposure notification framework Xamarin App and Server Side Code
Stars: ✭ 35 (+218.18%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-tracker, covid-19
Api
API for Current cases and more stuff about COVID-19 and Influenza
Stars: ✭ 2,323 (+21018.18%)
Mutual labels:  coronavirus, coronavirus-tracking, covid-19, covid19
covid19-animation-generator
Generates an animation of COVID-19 data
Stars: ✭ 33 (+200%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-tracker, covid-19

CovidSharp

All Contributors Build status NuGet NuGet GitHub stars GitHub forks HitCount

CovidSharp is a crossplatform C# API wrapper for the Coronavirus tracking API

Installation

You can install it as a nuget package

Usage

Call the Library

using CovidSharp;
  • Declares the instance of the library
CoronavirusData data = new CoronavirusData();

Get the Latest Data

  • Fetches the latest worldwide data
 Console.WriteLine("Confirmed: " + data.LatestConfirmed());
 Console.WriteLine("Recovered: " + data.LatestRecovered());
 Console.WriteLine("Deaths: " + data.LatestDeaths());

Get Data by country code

  • Use a country code and fetch the data of that country
 Console.WriteLine("Denmark Confirmed: " + data.FromCountryConfirmed("DK"));
 Console.WriteLine("Denmark Recovered: " + data.FromCountryRecovered("DK"));
 Console.WriteLine("Denmark Deaths: " + data.FromCountryDeaths("DK"));
 Console.WriteLine("Denmark Population: " + data.FromCountryCodePopulation("DK"));

Get Data by country name

  • Use a country code and fetch the data of that country
   Console.WriteLine("China Confirmed: " + data.FromCountryNameConfirmed("China"));
   Console.WriteLine("China Recovered: " + data.FromCountryNameRecovered("China"));
   Console.WriteLine("China population: " + data.FromCountryNamePopulation("China"));

Get Data by ID

You can use the associated ID of a province or country to get the desired information You can find countries IDs here

  • This code gets the latest data of Denmark using ID instead of a country code
 Console.WriteLine("Denmark ID Confirmed: " + data.FromIDConfirmed("94"));
 Console.WriteLine("Denmark  ID Recovered: " + data.FromCountryRecovered("94"));
 Console.WriteLine("Denmark ID Deaths: " + data.FromCountryDeaths("94"));
  • Get the province name associated with an ID, in this case the ID of 92 is associated with the Faroe Islands province
  Console.WriteLine("Name of the Faroe Islands: " + data.FromIDProvince("92"));
  • Get the country name associated with an ID, in this case the ID of 92 is associated with the Faroe Islands province
  Console.WriteLine("Name of the country of the Faroe Islands: " + data.FromIDCountry("92"));
  • Get the latitude associated with an ID
  Console.WriteLine("Denmark Latitude: " + data.FromIDLatitude("94"));
  • Get the longitude associated with an ID
  Console.WriteLine("Denmark Longtitude: " + data.FromIDLongitude("94"));
  • Get the country population associated with an ID
   Console.WriteLine("Denmark Population: " + data.FromIDPopulation("94"));

Get a list of data

You can easily fetch a list of your desired data, the default source is always jhs

  • Get a list of the all the countries in the world
  Console.WriteLine(data.GetCountryList());
  • Get a list of the populations of all the countries in the world
  Console.WriteLine(data.GetPopulationList());
  • Get a list of the provinces of all the countries in the world
  Console.WriteLine(data.GetProvinceList());
  • Get a list of the counties in the US using CSBS as a source
  Console.WriteLine(data.GetCountyList("csbs"));

Contributors

Thanks goes to these wonderful people (emoji key):


Abdirahiim Yassin

💻 📖 💡 🚧 ⚠️

HaseeB Mir

💻 💡

Ramy Gamal

📖

Jacob Tønder

🚧

Aleksey-Nikonov

🤔

This project follows the all-contributors specification. Contributions of any kind welcome!

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].