Billbee.Net
1.0.3
See the version list below for details.
dotnet add package Billbee.Net --version 1.0.3
NuGet\Install-Package Billbee.Net -Version 1.0.3
<PackageReference Include="Billbee.Net" Version="1.0.3" />
paket add Billbee.Net --version 1.0.3
#r "nuget: Billbee.Net, 1.0.3"
// Install Billbee.Net as a Cake Addin #addin nuget:?package=Billbee.Net&version=1.0.3 // Install Billbee.Net as a Cake Tool #tool nuget:?package=Billbee.Net&version=1.0.3
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": {
"Url": "https://app.billbee.io/api/v1",
"ApiKey": "YOUR_API_KEY",
"Username": "YOUR_USERNAME",
"Password": "YOUR_PASSWORD",
"Logging": "false"
}
}
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 void ConfigureServices(IServiceCollection services)
{
var serviceProvider = new ServiceCollection()
.AddApiClient("https://app.billbee.io/api/v1", "YOUR_API_KEY", "YOUR_USERNAME", "YOUR_PASSWORD")
.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 | 119 | 7/9/2024 |
1.0.6 | 84 | 7/9/2024 |
1.0.5 | 87 | 7/9/2024 |
1.0.4 | 85 | 7/9/2024 |
1.0.3 | 84 | 7/9/2024 |
1.0.2 | 91 | 7/4/2024 |
1.0.1 | 90 | 7/3/2024 |
0.4.4 | 332 | 1/19/2024 |
0.4.3 | 381 | 12/28/2023 |
0.4.2 | 349 | 12/26/2023 |
0.4.1 | 314 | 12/26/2023 |
0.3.0 | 372 | 12/22/2023 |
0.2.9 | 326 | 12/22/2023 |
0.2.8 | 327 | 12/22/2023 |
0.2.7 | 875 | 1/18/2022 |
0.2.6 | 902 | 1/17/2022 |
0.2.5 | 855 | 1/17/2022 |
0.2.4 | 830 | 1/17/2022 |
0.2.3 | 818 | 1/14/2022 |
0.2.2 | 646 | 12/21/2021 |
0.2.1 | 680 | 12/21/2021 |
0.2.0 | 651 | 12/19/2021 |
0.1.12 | 672 | 11/30/2021 |
0.1.11 | 686 | 11/30/2021 |
0.1.10 | 707 | 11/30/2021 |
0.1.9 | 680 | 11/30/2021 |
0.1.8 | 693 | 11/30/2021 |
0.1.7 | 703 | 11/30/2021 |
0.1.6 | 1,523 | 11/29/2021 |
0.1.5 | 1,488 | 11/29/2021 |
0.1.4 | 1,232 | 11/29/2021 |