A .NET client for the Buddy API.
-
Add the BuddyApiClient NuGet to your project:
dotnet add package BuddyApiClient --prerelease
-
Get a personal access token, or a OAuth2 access token.
-
Create an instance of
BuddyClient
, and query the Buddy API using your token. E.g:var client = new BuddyClient("YOUR_TOKEN_HERE"); var workspaces = await client.Workspaces.List();
See the console app sample.
If you're using Microsoft.Extensions.DependencyInjection, see BuddyApiClient.Extensions.Microsoft.DependencyInjection.
BuddyApiClient is Open Source (MIT), and you're welcome to contribute!
If you have a bug report, feature request, or suggestion, please open a new issue. To submit a patch, please send a pull request.