ODataHttpClient NuGet Package

The simplest implementation of OData client.
## Restrictions

- Not support XML (JSON only)
- Not support Query Builder

## Usage

```
var client = new HttpClient();
var odata = new ODataClient(client);
var request = Request.Get($"{endpoint}/Products?$inlinecount=allpages");
var response = await odata.SendAsync(request);

if (response.Success)
{
var total = response.ReadAs<int>("$['odata.count']");
var products = response.ReadAs<IEnumerable<Product>>("$.value");
}
```

## More info
[https://github.com/iwate/ODataHttpClient](https://github.com/iwate/ODataHttpClient).




Got any ODataHttpClient Question?





Info

Version: 2.0.1
Author(s): iwate
Last Update: Thursday, August 17, 2023
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/iwate/ODataHttpClient
NuGet Url: https://www.nuget.org/packages/ODataHttpClient


Install
Install-Package ODataHttpClient
dotnet add package ODataHttpClient
paket add ODataHttpClient
ODataHttpClient Download (Unzip the "nupkg" after downloading)





STATS

must-have-score

2.6

avg-downloads-per-day

79

days-since-last-release

259