Billbee.Net
1.0.6
See the version list below for details.
dotnet add package Billbee.Net --version 1.0.6
NuGet\Install-Package Billbee.Net -Version 1.0.6
<PackageReference Include="Billbee.Net" Version="1.0.6" />
paket add Billbee.Net --version 1.0.6
#r "nuget: Billbee.Net, 1.0.6"
// Install Billbee.Net as a Cake Addin #addin nuget:?package=Billbee.Net&version=1.0.6 // Install Billbee.Net as a Cake Tool #tool nuget:?package=Billbee.Net&version=1.0.6
Billbee.Net
Billbee.Net is a modern and asynchronous .NET client library designed to interact with the Billbee API efficiently.
GOAL
Provide .NET client support for the Billbee API.
Installation
Get it on NuGet:
PM> Install-Package Billbee.Net
Configuration
To use Billbee.Net in your .NET projects, add the necessary configuration to your appsettings.json
file:
{
"Billbee": {
"BaseAddress": "https://app.billbee.io/api/v1",
"ApiKey": "YOUR_API_KEY",
"Username": "YOUR_USERNAME",
"Password": "YOUR_PASSWORD"
}
}
How to Use
Register the Service
In your Startup.cs
or Program.cs
file, register the Billbee service:
using Microsoft.Extensions.DependencyInjection;
using Billbee.Net;
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}
public IConfiguration Configuration { get; }
public void ConfigureServices(IServiceCollection services)
{
var billbeeSettings = new BillbeeSettings();
Configuration.GetSection("Billbee").Bind(billbeeSettings);
var serviceProvider = new ServiceCollection()
.AddBillbeeClient(billbeeSettings)
.BuildServiceProvider();
}
}
Example Usage
Here is an example of how to use the Billbee API client in your application:
using System;
using System.Threading.Tasks;
using Billbee.Net.Endpoints;
using Billbee.Net.Models;
using Microsoft.Extensions.Logging;
public class ExampleService
{
private readonly ILogger<ExampleService> _logger;
private readonly OrderEndpoint _orderEndpoint;
public ExampleService(ILogger<ExampleService> logger, OrderEndpoint orderEndpoint)
{
_logger = logger;
_orderEndpoint = orderEndpoint;
}
public async Task ProcessNewOrders()
{
try
{
var orders = await _orderEndpoint.GetAllAsync(minOrderDate: DateTime.Today.AddDays(-10));
foreach (var order in orders.Data)
{
Console.WriteLine(order.BillBeeOrderId);
}
}
catch (Exception ex)
{
_logger.LogError(ex, "An error occurred while processing new orders.");
}
}
}
Available Endpoints
The following endpoints are available in the Billbee.Net
library:
AutomaticProvisionEndpoint
CloudStorageEndpoint
CustomerAddressEndpoint
CustomerEndpoint
DeliveryNoteEndpoint
EnumApiEndpoint
EventEndpoint
InvoiceEndpoint
OrderEndpoint
ProductEndpoint
ShipmentEndpoint
WebhookEndpoint
Important Notice
The library implements the key functionalities of the Billbee API but is not complete. If you have any questions or encounter any issues, please contact the developer.
License
This project is licensed under the MIT license. See the LICENSE file for more info.
This README
provides a comprehensive overview and guide for developers on how to set up and use the Billbee.Net
library, including installation, configuration, and usage examples, along with a list of available endpoints.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.Json (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- Microsoft.Extensions.Http.Polly (>= 8.0.6)
- Microsoft.Extensions.Logging (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Logging.Console (>= 8.0.0)
- OpenTelemetry.Exporter.Console (>= 1.9.0)
- OpenTelemetry.Extensions.Hosting (>= 1.9.0)
- Polly.Core (>= 8.4.1)
- Polly.Extensions (>= 8.4.1)
- Polly.Extensions.Http (>= 3.0.0)
- Polly.RateLimiting (>= 8.4.1)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 8.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.7 | 139 | 7/9/2024 |
1.0.6 | 85 | 7/9/2024 |
1.0.5 | 89 | 7/9/2024 |
1.0.4 | 87 | 7/9/2024 |
1.0.3 | 86 | 7/9/2024 |
1.0.2 | 93 | 7/4/2024 |
1.0.1 | 91 | 7/3/2024 |
0.4.4 | 339 | 1/19/2024 |
0.4.3 | 383 | 12/28/2023 |
0.4.2 | 353 | 12/26/2023 |
0.4.1 | 315 | 12/26/2023 |
0.3.0 | 374 | 12/22/2023 |
0.2.9 | 327 | 12/22/2023 |
0.2.8 | 329 | 12/22/2023 |
0.2.7 | 877 | 1/18/2022 |
0.2.6 | 904 | 1/17/2022 |
0.2.5 | 856 | 1/17/2022 |
0.2.4 | 833 | 1/17/2022 |
0.2.3 | 819 | 1/14/2022 |
0.2.2 | 647 | 12/21/2021 |
0.2.1 | 681 | 12/21/2021 |
0.2.0 | 652 | 12/19/2021 |
0.1.12 | 674 | 11/30/2021 |
0.1.11 | 688 | 11/30/2021 |
0.1.10 | 708 | 11/30/2021 |
0.1.9 | 681 | 11/30/2021 |
0.1.8 | 694 | 11/30/2021 |
0.1.7 | 704 | 11/30/2021 |
0.1.6 | 1,524 | 11/29/2021 |
0.1.5 | 1,489 | 11/29/2021 |
0.1.4 | 1,233 | 11/29/2021 |