IVAXOR.PatreonNET 0.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package IVAXOR.PatreonNET --version 0.0.4
NuGet\Install-Package IVAXOR.PatreonNET -Version 0.0.4
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="IVAXOR.PatreonNET" Version="0.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IVAXOR.PatreonNET --version 0.0.4
#r "nuget: IVAXOR.PatreonNET, 0.0.4"
#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 IVAXOR.PatreonNET as a Cake Addin
#addin nuget:?package=IVAXOR.PatreonNET&version=0.0.4

// Install IVAXOR.PatreonNET as a Cake Tool
#tool nuget:?package=IVAXOR.PatreonNET&version=0.0.4

Patreon.NET

GitHub build Codacy grade Coveralls coverage NuGet downloads Patreon

.NET library for accessing Patreon API

Setup

You'll need to register an OAuth client account to receive a client_id, client_secret and other info for use with this module. Visit the OAuth Documentation Page while logged in as a Patreon creator on patreon.com to register your client.

Installation

Install with dotnet CLI.

dotnet add package IVAXOR.PatreonNET

Usage

Get OAuth tokens

Library doesn't support full OAuth flow because of code flow, so you will need to get provide OAuth tokens to the library. If you aren't familiar with OAuth concept you should check it first.

Manage OAuth tokens

Library have multiple ways to handle and manage OAuth tokens, but for simplicity of tutorial PatreonSimpleTokenManager will be chosen.

var tokenManager = new PatreonSimpleTokenManager("access_token");

API v1 calls

var httpClient = new HttpClient();
var patreonAPIv1 = new PatreonAPIv1(httpClient, tokenManager);

var currentUser = await PatreonAPIv1.CurrentUser().ExecuteAsync();
var currentUserCampaings = await PatreonAPIv1.CurrentUserCampaigns().ExecuteAsync();

API v2 calls (in development)

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

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
0.0.10 91 4/16/2024
0.0.9 83 2/17/2024
0.0.8 98 2/6/2024
0.0.7 79 1/23/2024
0.0.6 74 1/20/2024
0.0.5 95 1/13/2024
0.0.4 144 1/2/2024
0.0.3 133 8/18/2023
0.0.2 133 7/27/2023
0.0.1 133 7/27/2023