Panda.NuGet.BillbeeClient
1.1.0
dotnet add package Panda.NuGet.BillbeeClient --version 1.1.0
NuGet\Install-Package Panda.NuGet.BillbeeClient -Version 1.1.0
<PackageReference Include="Panda.NuGet.BillbeeClient" Version="1.1.0" />
<PackageVersion Include="Panda.NuGet.BillbeeClient" Version="1.1.0" />
<PackageReference Include="Panda.NuGet.BillbeeClient" />
paket add Panda.NuGet.BillbeeClient --version 1.1.0
#r "nuget: Panda.NuGet.BillbeeClient, 1.1.0"
#:package Panda.NuGet.BillbeeClient@1.1.0
#addin nuget:?package=Panda.NuGet.BillbeeClient&version=1.1.0
#tool nuget:?package=Panda.NuGet.BillbeeClient&version=1.1.0
Panda.NuGet.BillbeeClient
A modern .NET library for seamless integration with the Billbee API, using System.Net.Http and System.Text.Json for efficient, dependency-light communication.
About
This project was originally forked from billbeeio/billbee-csharp-sdk but now maintains its own independent git history. The library has been completely rewritten to leverage modern .NET libraries and practices.
Features
- Modern .NET Support: Targets .NET 8.0, 9.0 and 10.0
- Performance Optimized: Uses
System.Net.HttpandSystem.Text.Jsonfor maximum efficiency - Dependency Light: Minimal external dependencies for easier maintenance
- Built-in Rate Limiting: Prevents API rate limit violations
- Comprehensive API Coverage: Supports all major Billbee API endpoints
Supported Endpoints
- Orders and order management
- Products and inventory
- Customers and addresses
- Shipments and tracking
- Webhooks and events
- Cloud storage integration
- Automatic provisioning
- Search functionality
Installation
The package is available on NuGet.org:
dotnet add package Panda.NuGet.BillbeeClient
Or via Package Manager Console:
Install-Package Panda.NuGet.BillbeeClient
Quick Start
1. Configure Services
using Panda.NuGet.BillbeeClient.Extensions;
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddBillbeeApi(new BillbeeApiConfig
{
Username = "your-username",
Password = "your-password",
ApiKey = "your-api-key",
BaseUrl = "https://api.billbee.io"
});
}
}
2. Use in Your Services
public class OrderService
{
private readonly IBillbeeClient _billbeeClient;
public OrderService(IBillbeeClient billbeeClient)
{
_billbeeClient = billbeeClient;
}
public async Task<IEnumerable<Order>> GetRecentOrdersAsync()
{
var result = await _billbeeClient.Orders.GetOrdersAsync();
return result.Data;
}
public async Task<Product> GetProductAsync(int productId)
{
var result = await _billbeeClient.Products.GetProductAsync(productId);
return result.Data;
}
}
Configuration
The BillbeeApiConfig supports the following properties:
Username: Your Billbee usernamePassword: Your Billbee password or API passwordApiKey: Your Billbee API keyBaseUrl: The Billbee API base URL (default: https://api.billbee.io)
Rate Limiting
The client includes built-in rate limiting to prevent API quota violations. The rate limiter is implemented as a singleton and will work correctly within a single application instance.
Documentation
For detailed API documentation, refer to:
Requirements
- .NET 8.0, 9.0 or 10.0
- Valid Billbee API credentials
Contributing
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Originally forked from billbeeio/billbee-csharp-sdk - thanks to the original contributors for the foundation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Http (>= 10.0.0)
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Http (>= 10.0.0)
-
net9.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Http (>= 10.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release of the modern Billbee API client with .NET 7/8/9 support.