Billbee.Net 1.0.2

dotnet add package Billbee.Net --version 1.0.2
NuGet\Install-Package Billbee.Net -Version 1.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Billbee.Net" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Billbee.Net --version 1.0.2
#r "nuget: Billbee.Net, 1.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Billbee.Net as a Cake Addin
#addin nuget:?package=Billbee.Net&version=1.0.2

// Install Billbee.Net as a Cake Tool
#tool nuget:?package=Billbee.Net&version=1.0.2

Natürlich! Hier ist die aktualisierte README:

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2 29 7/4/2024
1.0.1 33 7/3/2024
0.4.4 310 1/19/2024
0.4.3 367 12/28/2023
0.4.2 333 12/26/2023
0.4.1 297 12/26/2023
0.3.0 358 12/22/2023
0.2.9 309 12/22/2023
0.2.8 311 12/22/2023
0.2.7 860 1/18/2022
0.2.6 885 1/17/2022
0.2.5 838 1/17/2022
0.2.4 813 1/17/2022
0.2.3 799 1/14/2022
0.2.2 627 12/21/2021
0.2.1 662 12/21/2021
0.2.0 634 12/19/2021
0.1.12 649 11/30/2021
0.1.11 661 11/30/2021
0.1.10 688 11/30/2021
0.1.9 661 11/30/2021
0.1.8 676 11/30/2021
0.1.7 683 11/30/2021
0.1.6 1,506 11/29/2021
0.1.5 1,470 11/29/2021
0.1.4 1,214 11/29/2021