eBay.BuyFeedV1.Client
0.0.2
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
<PackageReference Include="eBay.BuyFeedV1.Client" Version="0.0.2" />
paket add eBay.BuyFeedV1.Client --version 0.0.2
#r "nuget: eBay.BuyFeedV1.Client, 0.0.2"
// 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 | Versions 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. |
-
net6.0
- eBay.OAuth.Client (>= 2.0.2)
- log4net (>= 2.0.15)
- Newtonsoft.Json (>= 13.0.3)
- RestSharp (>= 112.0.0)
- YamlDotNet (>= 13.7.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release of FeedV1API SDK