Skip to content

ivaxor/Patreon.NET

Repository files navigation

Patreon.NET

GitHub build Codacy grade Coveralls coverage NuGet downloads Patreon

.NET Standard 2.0 library for accessing Patreon API on both V1 and V2.

Library documentation

Tests

Solution includes IVAXOR.PatreonNET.IntegrationTests project with integration tests to run live request to API. You can use them as examples or references to get familiar with library.

To run them you will need to create IVAXOR.PatreonNET.IntegrationTests/appsettings.json file and fill it with your OAuth tokens and other settings:

{
  "CampaignId": "00000000",
  "MemberId": "00000000-0000-0000-0000-000000000000",
  "PostId": "00000000",
  "PatreonClientTokens": {
    "access_token": "0000000000000000000000000000000000000000000",
    "expires_in": 2678400,
    "token_type": "Bearer",
    "scope": "identity identity[email] identity.memberships campaigns campaigns.members campaigns.posts w:campaigns.webhook",
    "refresh_token": "0000000000000000000000000000000000000000000",
    "version": "0.0.1"
  }
}