EllipticBit.PartsTech.Client
0.2.5
dotnet add package EllipticBit.PartsTech.Client --version 0.2.5
NuGet\Install-Package EllipticBit.PartsTech.Client -Version 0.2.5
<PackageReference Include="EllipticBit.PartsTech.Client" Version="0.2.5" />
<PackageVersion Include="EllipticBit.PartsTech.Client" Version="0.2.5" />
<PackageReference Include="EllipticBit.PartsTech.Client" />
paket add EllipticBit.PartsTech.Client --version 0.2.5
#r "nuget: EllipticBit.PartsTech.Client, 0.2.5"
#:package EllipticBit.PartsTech.Client@0.2.5
#addin nuget:?package=EllipticBit.PartsTech.Client&version=0.2.5
#tool nuget:?package=EllipticBit.PartsTech.Client&version=0.2.5
EllipticBit PartsTech Client
Description
A C# client library for the PartsTech API. This library allows you to integrate PartsTech's extensive automotive parts catalog and taxonomy capabilities seamlessly into your core .NET applications.
Installation
Add the library to your project via the .NET CLI:
bash dotnet add package EllipticBit.PartsTech.Client
Or via the NuGet Package Manager Console:
powershell Install-Package EllipticBit.PartsTech.Client
Integration and Usage
The recommended way to use the library is by configuring it via .NET Dependency Injection.
Setting up Dependency Injection
In your Program.cs or Startup.cs, register the client with your configuration:
``csharp using Microsoft.Extensions.DependencyInjection; // using EllipticBit.PartsTech.Client; // Adjust using statements to match the extensions namespace
var builder = WebApplication.CreateBuilder(args);
// Configure PartsTech Client builder.Services.AddPartsTechClient(options ⇒ { options.ApiKey = builder.Configuration["PartsTech:ApiKey"]; options.LocationId = builder.Configuration["PartsTech:LocationId"]; // other configuration settings if applicable }); ``
Usage Example
Once registered, you can inject the necessary PartsTech interfaces into your classes:
``csharp using System.Threading.Tasks;
public class PartsService { private readonly PartsTechCatalog _catalog;
public PartsService(PartsTechCatalog catalog)
{
_catalog = catalog;
}
public async Task SearchCatalogAsync(string term)
{
// Conceptual Example
var results = await _catalog.SearchAsync(term);
}
} ``
Contributing
We welcome community contributions! Please follow standard flow:
- Fork the repository.
- Create your feature branch (git checkout -b feature/my-new-feature).
- Commit your changes (git commit -am 'Add some feature').
- Push to the branch (git push origin feature/my-new-feature).
- Create a new Pull Request.
Important Note regarding LLMs:
Any contributions, code, or documentation generated using Large Language Models (LLMs) or AI assistants must include the prompt(s) used to generate the contribution. Please append these prompts to the PROMPTS.txt file located in the root of the repository. Pull Requests lacking these transparency disclosures may be rejected.
License
Licensed under the MIT License. Copyright (c) 2024-2026 EllipticBit, LLC.
| 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. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. 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.0
- EllipticBit.Coalescence.Request (>= 1.5.6)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Http (>= 10.0.9)
- System.Net.Http.Json (>= 10.0.9)
- System.Text.Json (>= 10.0.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.