eBay.Service.SDK 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package eBay.Service.SDK --version 1.0.0                
NuGet\Install-Package eBay.Service.SDK -Version 1.0.0                
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="eBay.Service.SDK" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add eBay.Service.SDK --version 1.0.0                
#r "nuget: eBay.Service.SDK, 1.0.0"                
#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 eBay.Service.SDK as a Cake Addin
#addin nuget:?package=eBay.Service.SDK&version=1.0.0

// Install eBay.Service.SDK as a Cake Tool
#tool nuget:?package=eBay.Service.SDK&version=1.0.0                

Trading API .NET SDK

Support     Knowledge Base

Introduction

Please note that upgrades to an SDK should always be done in a test environment. Additionally, before using a version of the SDK, please read this Readme file. Please also read the Trading API Release Notes (which contain tables showing schema changes that occur every two weeks) for all Trading API versions released after your current version.

Release Information for the eBay SDK for .NET

Important: Changes to the Trading API affect the SDK. For example, in schema version latest, deprecated objects in the schema were deleted, creating backward incompatibility. Please see the Trading API Release Notes for ongoing updates to the schema (including occasional removals of schema elements). Please also see Versioning Strategy and Deprecated Objects.

SDK Version Latest Release

With Latest release, the .NET Trading API SDK supports OAuth for authentication. eBay uses the OAuth 2.0 protocol only for authorizing the eBay Buy and Sell RESTful APIs. Now, OAuth can be used with the Trading API, as well. With the Trading API, all calls use the authorization code grant type, meaning users must go through the sign-in flow to grant permission to the application to make calls on their behalf. Please refer to the Handling Authorization in Your Applications section in the SDK Getting Started topic for more information.

Using OAuth with the SDK

eBay uses the OAuth 2.0 protocol for authorizing the eBay Buy and Sell RESTful APIs. eBay’s OAuth implementation can also be used with the Trading API. With the Trading API, all calls use the authorization code grant type, meaning users must go through the sign-in flow to grant permission to the application to make calls on their behalf. For details about using authorization code grant type to retrieve access tokens, see Getting User Tokens in the Using eBay RESTful APIs guide. For the Trading API, we recommend that you use the https://api.ebay.com/oauth/api_scope/sell.account scope.

When you are able to retrieve oauth user access tokens, you simply pass your oauth token to the ApiContext object and the SDK does the rest.

New ConsoleGetItemUsingOAuth using OAuth User Access Token

ConsoleGetItemUsingOAuth sample has been added illustrating the usage of OAuth User Access Token instead of Auth&Auth Token to access eBay Trading API Server as below

  • ApiContext apiContext = new ApiContext();
  • ApiCredential cred = apiContext.getApiCredential();
  • cred.oAuthToken = "YourOAuthToken";

Important: eBay will be adding scopes for use with the Trading API specifically. When new scopes are available, your application must be ready to implement them. Users will be required to sign-in and go through the permission grant flow when the new scopes are implemented. This release is compatible with eBay's latest Trading WSDL.

Please refer to the Trading API Release Notes for a detailed list of the new elements and features.


This release includes:

  • The core libraries built in VS2022.
  • The code generator for VS2022 can generate eBay Trading Web Service proxy (both in command line and in VS2022 IDE).
  • The core libraries can be built in VS2022, including the corresponding solution file.
  • All samples/unit tests have been built/run in VS2022.

© 2024 eBay Inc. All rights reserved.
eBay and the eBay logo are registered trademarks of eBay Inc.
All other brands are the property of their respective owners.

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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 302 11/12/2024
1.0.0 1,769 3/21/2024

Initial commit: Adding all files