SereneApi 1.0.3.3-alpha
dotnet add package SereneApi --version 1.0.3.3-alpha
NuGet\Install-Package SereneApi -Version 1.0.3.3-alpha
<PackageReference Include="SereneApi" Version="1.0.3.3-alpha" />
paket add SereneApi --version 1.0.3.3-alpha
#r "nuget: SereneApi, 1.0.3.3-alpha"
// Install SereneApi as a Cake Addin
#addin nuget:?package=SereneApi&version=1.0.3.3-alpha&prerelease
// Install SereneApi as a Cake Tool
#tool nuget:?package=SereneApi&version=1.0.3.3-alpha&prerelease
What is SereneApi?
SereneApi is intended to provide a straightforward way of consuming RESTful APIs requiring as little code & setup as possible whilst providing a powerful set of extensible tools.
Why I found that creating Web Requests and Deserializing/Serializing tended to become tedious and in some cases break DRY. I also disliked how it usually made my code base look cluttered. Most other implementation of RESTful libraries usually gave me a similar clutter like vibe which I wanted to avoid.
Serene removes this code clutter allowing for clean single line methods to be used for accessing resources; After using the Repository Pattern for many years I was inspired to create a API Handler that followed a similar pattern, this is what led to SereneApi.
Current Releases
- SereneApi | Environment - Standard 2.1
- SereneApi.DependencyInjection | Environment - Core 3.1
Extends SereneApi adding support for AspNet Dependency Injection. <br>
- SereneApi.Extras | Environment - Standard 2.1
Adds Extras and Helpers that are involded with consuming specific 3rd party APIs. <br>
Planed Features
- Unit Tests...
- More control over logging, are logs being generated for exceptions and messages.
Extend In Body Requests to allow Action Templates and Parameters.Improve Options adding Generic Dependencies.Make it available on NUGET!Separate DI from the base library. Add in Factories for ApiHandler Creation.
Special Thanks
- Nuget Icons made by <a href="https://www.flaticon.com/authors/prosymbols" title="Prosymbols">Prosymbols</a> from <a href="https://www.flaticon.com/" title="Flaticon"> www.flaticon.com</a>
Product | Versions 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Extensions.Logging.Abstractions (>= 3.1.4)
- System.Text.Json (>= 4.7.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SereneApi:
Package | Downloads |
---|---|
SereneApi.Interfaces.PayPal
SereneApi.Interfaces.PayPal adds DI support for PayPal and its supporting APIs and DTOs. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|
* Added: UseCredentials Method to the ApiOptionsBuilder, this allows the Default Credentials used by the Handler to be overriden.