Skip to content

PeerBerry.API is a strongly typed client library for accessing the PeerBerry API.

License

Notifications You must be signed in to change notification settings

GetoXs/PeerBerry.API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PeerBerry.API

PeerBerry.API is a strongly typed client library for accessing the PeerBerry API.

GitHub Actions Status NuGet NuGet license

Features

  • Response data is mapped to strongly typed models
  • Support for most of the PeerBerry functionallity
  • Possibility to execute custom API calls (in case of PeerBerry new functionallities)
  • Automatic access token refresh mechanism
  • Initialization via refresh token or username/password

Supported Frameworks

The library is targeting both .NET 8.0 for optimal compatibility

Install the library

Nuget (.NET CLI)

NuGet version Nuget downloads

dotnet add package PeerBerry.API

NuGet (Install-Package)

Install-Package PeerBerry.API

Download release

GitHub Release

The NuGet package files are added along side the source with the latest GitHub release which can found here.

How to use

Quick start

// Get my balance
var client = new PeerBerryClient();
await client.InitializeUsingEmailAsync("email", "password");
// alternatively you can use client.InitializeUsingTokensAsync
var balance = await _client.GetBalanceMainAsync();

Support the project

Any support is greatly appreciated.

About

PeerBerry.API is a strongly typed client library for accessing the PeerBerry API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages