eBay.BuyFeedV1.Client 0.0.2

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

// Install eBay.BuyFeedV1.Client as a Cake Tool
#tool nuget:?package=eBay.BuyFeedV1.Client&version=0.0.2                

Feed V1 API SDK

The item feed files provide a rich set of data regarding active ebay listings. The feed files for any supported marketplace can be downloaded through the Feed API V1.

This .NET SDK provides methods such as

  • DownloadLatestFile(rangeValue, feedtype, categoryId, marketplaceId, zippedOutputFilename): It determines the latest file of the feedtype for the given marketplaceId and categoryId, and downloads the file in chunks of rangeValue.<br>
  • Unzip(zippedOutputFilename, unzippedOutputFilename): It unzips the downloaded feed file. <br>
  • FilterByItem(itemId, unzippedOutputFilename, filteredOutputFilename): It downloads the latest file, unzips it, filters the feed file for the given itemId and writes the filtered output to a file.<br>

Table of contents

Features

This SDK is intended to provide an easy way to filter for item in the latest feed file for a particular marketplace and category. It downloads the latest file and unzips it. It filters the feed file for the given itemId and writes the filtered output to a file.

There are individual methods as well:

  • CallGetFeedTypes : To get the list of feed types
  • CallGetFiles : To get the list of files for a given feed type
  • CallGetFile : To the file metadata
  • CallGetAccess : To get the access configuration
  • CallDownloadFile : To download the feed file

For more details on Feed V1 API, please refer to the documentation.

Usage

Prerequisites

Net 6

Using the library

To your application, 
* add the library: using eBay.sdk;
* call the method in FeedClient: feedClient.FilterByItem

Running the example

Configure

In order to run the example application the example-config.yaml needs to be updated. This config file contains the parameters required to generate the token, in order to make the api call.

api.ebay.com:
  appid: <appid>>
  certid: <certid>>
  devid: <devid>>
  redirecturi: <redirect_uri-from-developer-portal>

Run the examples

To run the examples, run the following commands from the examples directory of the repository:

  • dotnet test --filter Files_Example

Logging

Uses standard console logging.

License

Copyright 2024 eBay Inc. Developer: Rachana Nallur

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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 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. 
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
0.0.3 123 10/18/2024
0.0.2 111 9/4/2024
0.0.1 166 2/2/2024

Initial release of FeedV1API SDK