SereneApi 1.0.3.3-alpha

Suggested Alternatives

SereneApi.Handlers.Rest 5.0.0.1

This is a prerelease version of SereneApi.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package SereneApi --version 1.0.3.3-alpha
NuGet\Install-Package SereneApi -Version 1.0.3.3-alpha
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="SereneApi" Version="1.0.3.3-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SereneApi --version 1.0.3.3-alpha
#r "nuget: SereneApi, 1.0.3.3-alpha"
#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.
// 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

Adds SereneApi to your project. <br> Nuget

  • SereneApi.DependencyInjection | Environment - Core 3.1

Extends SereneApi adding support for AspNet Dependency Injection. <br> Nuget

  • SereneApi.Extras | Environment - Standard 2.1

Adds Extras and Helpers that are involded with consuming specific 3rd party APIs. <br> Nuget

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.