AussieParts.eBay.SDK 1.0.1

dotnet add package AussieParts.eBay.SDK --version 1.0.1
                    
NuGet\Install-Package AussieParts.eBay.SDK -Version 1.0.1
                    
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="AussieParts.eBay.SDK" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AussieParts.eBay.SDK" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="AussieParts.eBay.SDK" />
                    
Project file
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 AussieParts.eBay.SDK --version 1.0.1
                    
#r "nuget: AussieParts.eBay.SDK, 1.0.1"
                    
#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 AussieParts.eBay.SDK@1.0.1
                    
#: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=AussieParts.eBay.SDK&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=AussieParts.eBay.SDK&version=1.0.1
                    
Install as a Cake Tool

# AussieParts.eBay.SDK

A .NET 8 SDK for connecting your application to eBay's

Selling Partner API (Australia).

## Installation


dotnet add package AussieParts.eBay.SDK

## Quick Start

### 1. Add credentials to appsettings.json


{

&#x20; "EbaySettings": {

&#x20;   "AppId": "your-app-id",

&#x20;   "DevId": "your-dev-id",

&#x20;   "CertId": "your-cert-id",

&#x20;   "UserToken": "your-oauth-token",

&#x20;   "Environment": "sandbox",

&#x20;   "MarketplaceId": "EBAY\_AU"

&#x20; }

}

### 2. Register in Program.cs


builder.Services.AddEbaySdk(builder.Configuration);

### 3. Create your own Product class


using AussieParts.eBay.SDK.Models;



public class Product : EbayProduct

{

&#x20;   public int ProductId { get; set; }

&#x20;   public string Name { get; set; } = string.Empty;

&#x20;   public string RefCode { get; set; } = string.Empty;



&#x20;   public override void MapToEbay()

&#x20;   {

&#x20;       Title   = Name;

&#x20;       EbaySku = RefCode;

&#x20;   }

}

### 4. Use in your controller


public class ProductController : Controller

{

&#x20;   private readonly IEbayService \_ebay;



&#x20;   public ProductController(IEbayService ebay)

&#x20;   {

&#x20;       \_ebay = ebay;

&#x20;   }



&#x20;   public async Task<IActionResult> PushToEbay()

&#x20;   {

&#x20;       var product = new Product

&#x20;       {

&#x20;           Name     = "Wireless Headphones",

&#x20;           RefCode  = "SKU-WH-001",

&#x20;           Price    = 79.99m,

&#x20;           Quantity = 50

&#x20;       };



&#x20;       await \_ebay.CreateListingAsync(product);

&#x20;       return Ok();

&#x20;   }

}

## License

MIT

Product 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.

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.1 153 3/20/2026