Binner.SwarmApi 1.0.5

dotnet add package Binner.SwarmApi --version 1.0.5                
NuGet\Install-Package Binner.SwarmApi -Version 1.0.5                
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="Binner.SwarmApi" Version="1.0.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Binner.SwarmApi --version 1.0.5                
#r "nuget: Binner.SwarmApi, 1.0.5"                
#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 Binner.SwarmApi as a Cake Addin
#addin nuget:?package=Binner.SwarmApi&version=1.0.5

// Install Binner.SwarmApi as a Cake Tool
#tool nuget:?package=Binner.SwarmApi&version=1.0.5                

Binner.SwarmApi

nuget nuget Build status

Provides an api interface to the Binner Swarm Api.

Description

A C# restful client for working with the open source Binner Swarm Api.

Usage

using Binner.SwarmApi;

var config = new SwarmApiConfiguration();
var client = new SwarmApiClient(config);

var response = await client.GetPartInformationAsync("LM358");
// process part information results

Error Handling

using Binner.SwarmApi;

var config = new SwarmApiConfiguration();
var client = new SwarmApiClient(config);

var response = await client.GetPartInformationAsync("LM358");
if (response.IsSuccessful)
{
	// process part information results
	foreach (var part in response.Response.Parts)
	{
		Console.WriteLine($"Part Number: {part.BasePartNumber}");
		Console.WriteLine($"Type: {part.PartType}");
		Console.WriteLine($"Mfr: {part.Manufacturer} = {part.ManufacturerPartNumber}");
		Console.WriteLine($"Datasheets: {string.Join(", ", part.DatasheetUrls)}");
		Console.WriteLine();
	}
} else {
	var x = 0;
	foreach (var error in response.Errors)
	{
			x++;
			Console.WriteLine($" [{x}] {error}");
	}
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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. 
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 (1)

Showing the top 1 popular GitHub repositories that depend on Binner.SwarmApi:

Repository Stars
replaysMike/Binner
Open source parts inventory system for makers, electronics hobby, and professional engineers
Version Downloads Last updated
1.0.5 923 3/30/2023
1.0.4 286 3/10/2023
1.0.2 350 1/26/2023
1.0.1 283 1/26/2023
1.0.0 289 1/26/2023

Serialize and deserialize any object without decoration/attributes.