{"id":26932589,"url":"https://github.com/tornikegomareli/covidnet","last_synced_at":"2025-04-02T08:27:16.427Z","repository":{"id":40883924,"uuid":"253597008","full_name":"tornikegomareli/CovidNET","owner":"tornikegomareli","description":" 😷Single C# programming interface(WRAPPER) for different types of COVID19 API 😷","archived":false,"fork":false,"pushed_at":"2022-06-22T23:02:41.000Z","size":14923,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-24T19:14:10.145Z","etag":null,"topics":["corona-net","coronaviurapiwrapper","covid-19","covid-19net","csharp","dotnetcovid","dotnetcovid19infowrapper","netcore","netstandard"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tornikegomareli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-06T19:33:10.000Z","updated_at":"2025-02-21T19:28:28.000Z","dependencies_parsed_at":"2022-09-11T07:10:44.593Z","dependency_job_id":null,"html_url":"https://github.com/tornikegomareli/CovidNET","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tornikegomareli%2FCovidNET","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tornikegomareli%2FCovidNET/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tornikegomareli%2FCovidNET/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tornikegomareli%2FCovidNET/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tornikegomareli","download_url":"https://codeload.github.com/tornikegomareli/CovidNET/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246780359,"owners_count":20832584,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["corona-net","coronaviurapiwrapper","covid-19","covid-19net","csharp","dotnetcovid","dotnetcovid19infowrapper","netcore","netstandard"],"created_at":"2025-04-02T08:27:15.835Z","updated_at":"2025-04-02T08:27:16.402Z","avatar_url":"https://github.com/tornikegomareli.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\r\n\u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\"\u003e\r\n\u003c/p\u003e  \r\n\r\n\r\n\r\n\u003c!-- PROJECT LOGO --\u003e\r\n\u003cbr /\u003e\r\n\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"https://s3.xopic.de/openwho-public/channels/7fSc4JEBeO9H0P4b8d1Cfq/logo_v1.png\"\u003e\r\n    \u003cimg src=\"https://s3.xopic.de/openwho-public/channels/7fSc4JEBeO9H0P4b8d1Cfq/logo_v1.png\" alt=\"Logo\" width=\"150\" height=\"120\"\u003e\r\n  \u003c/a\u003e\r\n\r\n  \u003ch3 align=\"center\"\u003eCovidNET\u003c/h3\u003e\r\n\r\n  \u003cp align=\"center\"\u003e\r\n    Single C# library for using different types of COVID19 API's - Work with COVID19 data from simple single client\r\n    \u003cbr /\u003e    ·\r\n    \u003ca href=\"https://github.com/tornikegomareli/CovidNET/issues\"\u003eReport Bug\u003c/a\u003e\r\n    ·\r\n    \u003ca href=\"https://github.com/tornikegomareli/CovidNET/issues\"\u003eRequest Feature\u003c/a\u003e\r\n  \u003c/p\u003e\r\n\u003c/p\u003e\r\n\r\n⭐️ - Star repository, it helps  😊 \r\n\r\n\u003c!-- TABLE OF CONTENTS --\u003e\r\n## Table of Contents\r\n\r\n* [About the Project](#about-the-project)\r\n  * [Built With](#built-with)\r\n* [Getting Started](#getting-started)\r\n  * [Prerequisites](#prerequisites)\r\n  * [Installation](#installation)\r\n* [Usage](#usage)\r\n* [Contributing](#contributing)\r\n* [License](#license)\r\n* [Contact](#contact)\r\n\r\n\r\n\r\n\u003c!-- ABOUT THE PROJECT --\u003e\r\n## About The Project\r\n\r\nToday's everyone is at home. So developers are using those time to build something creative, or just usefull for another people. \r\n\r\nI just decided to create beautiful wrapper for different types of COVID19 API's (they are a lot), for developers who are concetrated to create projects about today's situation and they need data of course.\r\n\r\nHere's why:\r\n* Your time should be focused on creating something amazing. A project that solves a problem and helps others\r\n* You shouldn't be doing the same tasks over and over like creating a API calls and setuping Http layers from scratch\r\n* You should element DRY principles to the rest of your life :smile:\r\n\r\nOf course, no any wrapper and library will serve all projects since your needs may be different. So I'll be adding more in the near future. You may also suggest changes by forking this repo and creating a pull request or opening an issue.\r\n\r\n### API's which are integrated into the project\r\n* [Covid19](https://github.com/pomber/covid19)\r\n* [covid-api](https://github.com/backtrackbaba/covid-api)\r\n* [covidAPI-heroku](https://github.com/javieraviles/covidAPI)\r\n\r\n### Built With\r\n* [net-standard](https://docs.microsoft.com/en-us/dotnet/standard/net-standard)\r\n* [Newtonsoft](https://www.newtonsoft.com/json)\r\n* [NetHttp](https://www.nuget.org/packages/System.Net.Http/)\r\n* [nUnit](https://nunit.org/)\r\n\r\n\r\n\r\n\u003c!-- GETTING STARTED --\u003e\r\n## Getting Started\r\n\r\nThis is an example of how you may give instructions on setting up your project locally.\r\nTo get a local copy up and running follow these simple example steps.\r\n\r\n### Installation\r\n\r\n\r\nThis is an example of how to list things you need to use the software and how to install them.\r\n* nuget - [https://www.nuget.org/packages/covidnet/](https://www.nuget.org/packages/covidnet/)\r\n\r\n\r\n Package manager console\r\n```sh\r\nInstall-Package covidnet -Version 1.0.0\r\n```\r\n.NET CLI\r\n```sh\r\ndotnet add package covidnet --version 1.0.0\r\n```\r\nPackageReference\r\n```sh\r\n\u003cPackageReference Include=\"covidnet\" Version=\"1.0.0\" /\u003e\r\n```\r\npaket CLI\r\n```sh\r\npaket add covidnet --version 1.0.0\r\n```\r\n\r\n\u003c!-- USAGE EXAMPLES --\u003e\r\n## Usage\r\n\r\nUsage of CovidNET is very simple.\r\nYou just need one single client instance, which will be abstraction for whole system and you will use this client to perform async calls to different APIS for different types of DATA you will need.\r\n\r\nTo create CovidNET client in your code you just need to create new instance.\r\n```csharp\r\nvar covidClient = new CovidNetClient();\r\n```\r\nAfter that, you will need to request basic data we need for future operations. So you need to sync data from web-services.\r\n\r\n```csharp\r\nawait covidClient.InitCovidDataAsync()\r\n```\r\nSo here, you already have everything you need to perform library calls to get all the data you need. \r\n\r\nWith CovidNET you can use next methods:\r\n\r\n* Get list of covidinfo objects based on counry name, where it will be whole timeseries of data from 22 January 2020 - (Confirmed, death, recovered)\r\n```csharp\r\nIEnumerable\u003cCovidInfo\u003e GetCountryTimeSeriesByName(string countryName)\r\n```\r\n* Get world covidinfo about COVID19, based on specific date. (Confirmed, death, recovered)\r\n```csharp\r\nTask\u003cCovidInfo\u003e GetGlobalInfoByDateAsync(DateTime date)\r\n```\r\n* Get latest world covidinfo. (Confirmed, death, recovered)\r\n```csharp\r\nTask\u003cCovidInfo\u003e GetLatestGlobalInfoAsync()\r\n```\r\n* Get specific country time-series in ranged dates, based on country name.\r\n```csharp\r\nIEnumerable\u003cCovidInfo\u003e GetCountryTimeSeries(string country, DateTime from, DateTime to)\r\n```\r\n* Get all detailed country stats where covid19 is active (Country, cases, today cases, deaths, todaydeaths, recovered, active, critical, casesPerOneMillion, deathsPerOneMillion, totalTests, testsPerOneMillion)\r\n```csharp\r\nTask\u003cIEnumerable\u003cCovidCountryStats\u003e\u003e GetCurrentAllCovidCountryStatsAsync()\r\n```\r\n* Get detailed country stat, based on country name;\r\n```csharp\r\nTask\u003cCovidCountryStats\u003e GetCurrentCovidInfoByCountryAsync(string country)\r\n```\r\n* Get specific country covidinfo based on date (Confirmed, deaths, recovered)\r\n```csharp\r\nTask\u003cCovidInfo\u003e GetCovidCountryInfoByDateAsync(string countryName, DateTime dateTime)\r\n```\r\n\u003c!-- ROADMAP --\u003e\r\n## Roadmap\r\n\r\nSee the [open issues](https://github.com/othneildrew/Best-README-Template/issues) for a list of proposed features (and known issues).\r\n\r\n\u003c!-- CONTRIBUTING --\u003e\r\n## Contributing\r\n\r\nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.\r\n\r\n1. Fork the Project\r\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\r\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\r\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\r\n5. Open a Pull Request\r\n\r\nPlease feel free to make contribution for everything you think, it doesn't matter it will be feature, bug or just grammer mistake fix in README.\r\n\r\nI'm also very open about integrating new API's or new design changes. \r\n\u003c!-- LICENSE --\u003e\r\n## License\r\n\r\nDistributed under the MIT License. See `LICENSE` for more information.\r\n\u003c!-- CONTACT --\u003e\r\n## Contact\r\n\r\n- Github - [tornikegomareli](https://github.com/tornikegomareli)\r\n- Twitter - [@tornikegomareli](https://twitter.com/tornikegomareli)  \r\n- Email - gomarelidevelopment@gmail.com\r\n- Facebook - [tornikegomareli](https://www.facebook.com/microg)\r\n\r\nProject Link: [COVIDNET](https://github.com/tornikegomareli/CovidNET)\r\n\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftornikegomareli%2Fcovidnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftornikegomareli%2Fcovidnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftornikegomareli%2Fcovidnet/lists"}