PeerBerry.API is a strongly typed client library for accessing the PeerBerry API.
- 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
The library is targeting both .NET 8.0
for optimal compatibility
dotnet add package PeerBerry.API
Install-Package PeerBerry.API
The NuGet package files are added along side the source with the latest GitHub release which can found here.
// Get my balance
var client = new PeerBerryClient();
await client.InitializeUsingEmailAsync("email", "password");
// alternatively you can use client.InitializeUsingTokensAsync
var balance = await _client.GetBalanceMainAsync();
Any support is greatly appreciated.