PeachClient 0.1.3-preview
This is a prerelease version of PeachClient.
dotnet add package PeachClient --version 0.1.3-preview
NuGet\Install-Package PeachClient -Version 0.1.3-preview
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="PeachClient" Version="0.1.3-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PeachClient" Version="0.1.3-preview" />
<PackageReference Include="PeachClient" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PeachClient --version 0.1.3-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PeachClient, 0.1.3-preview"
#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.
#:package PeachClient@0.1.3-preview
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PeachClient&version=0.1.3-preview&prerelease
#tool nuget:?package=PeachClient&version=0.1.3-preview&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Peach Client .NET
Unofficial Peach Bitcoin API .NET client library.
Based on their official API documentation.
The project is incomplete and still in the early stages of development.
Target
- .NET 8.0
Install via NuGet
dotnet add package PeachClient --version 0.1.3-preview
Quick Start
var builder = Host.CreateDefaultBuilder(args)
.ConfigureServices((context, services) =>
{
services.AddOptions<PeachApiClientSettings>().Configure(_ => {});
services.AddSingleton<PeachApiClient>();
});
using var host = builder.Build();
var logger = host.Services.GetRequiredService<ILogger<Program>>();
var client = host.Services.GetRequiredService<PeachApiClient>();
var result = await client.SearchOffersAsync(new OfferFilter {
Type = OfferTypeFilter.All,
Amount = [100_000, 1_000_000],
MeansOfPayment = new() { ["EUR"] = ["revolut"] },
MaxPremium = 12,
MinReputation = 0.5
}, new OfferPagination(0, 10), OfferSortBy.LowestPremium);
if (result.MatchJust(out var response) && !response.Offers.IsEmpty()) {
foreach (var offer in response.Offers) {
logger.LogInformation("{Offer}", ObjectDumper.Dump(offer));
}
}
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 was computed. 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.4)
- Microsoft.Extensions.Options (>= 9.0.4)
- RestSharp (>= 112.1.0)
- SharpX (>= 8.3.6)
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 |
---|---|---|
0.1.3-preview | 59 | 8/31/2025 |
0.1.2-preview | 80 | 8/31/2025 |
0.1.1-preview | 142 | 8/29/2025 |
0.1.0-preview | 133 | 8/25/2025 |