TNCovidBedApi 1.3.0

dotnet add package TNCovidBedApi --version 1.3.0
                    
NuGet\Install-Package TNCovidBedApi -Version 1.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TNCovidBedApi" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TNCovidBedApi" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="TNCovidBedApi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TNCovidBedApi --version 1.3.0
                    
#r "nuget: TNCovidBedApi, 1.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TNCovidBedApi@1.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TNCovidBedApi&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=TNCovidBedApi&version=1.3.0
                    
Install as a Cake Tool

TNCovidBedApi

.NET

Description

Tamil Nadu Government has created a website http://tncovidbeds.tnega.org/ to track corona ward bed status over the entire state under single website.

The website has rich features but the main backbone of the website is the API it is using to fetch data. Though the API is powerful, the website doesn't make the full use of the API to provide service.

This library will enables you to download data from the API with various filters like filtering the beds based on availability, getting nearby hospitals to a particular location, etc.

This library is built with .Net Core 3.1 and can be used with all supporting applications from .Net Core 3.1 and above.

The library supports

  1. Asynchronous download of district details
  2. Getting cached district details
  3. Asynchronous download of corona ward details
  4. Getting cached corona ward details
  5. Getting corona ward details of nearby hospitals from a location with particular distance
  6. Add and update cache data from locally saved cache file in specified location
  7. View Download Progress of any request

Using in your project

The API can be downloaded as nuget package from https://www.nuget.org/packages/TNCovidBedApi/

Or you can direcly install in your project using the command

dotnet add package TNCovidBedApi --version 1.3.0

Make sure that your project is .Net Core 3.1 or higher

Documentation

The complete documentation of using the library is at https://github.com/DevTamizhan/TNCovidBedApi/wiki

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.0 509 8/18/2021
1.2.1 509 7/7/2021
1.0.2 485 6/21/2021

Added Support to store cache in file and retrieve data from file