• This repository has been archived on 24/Dec/2021
  • Stars
    star
    159
  • Rank 229,725 (Top 5 %)
  • Language
    C#
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

.NET Amazon Product Advertising Client

Nager.AmazonProductAdvertising

Allow access to amazon product advertising API (paapi5), you can search a product over the name or a keyword.

Usage

Please check the AmazonEndpoint is correct for your Country.

  • Amazon Germany use AmazonEndpoint.DE
  • Amazon Spain use AmazonEndpoint.ES
  • Amazon United Kingdom use AmazonEndpoint.UK
Item Search (simple)
var authentication = new AmazonAuthentication("accesskey", "secretkey");
var client = new AmazonProductAdvertisingClient(authentication, AmazonEndpoint.US, "nager-20");
var result = await client.SearchItemsAsync("canon eos");
Item Search (advanced)
var authentication = new AmazonAuthentication("accesskey", "secretkey");
var client = new AmazonProductAdvertisingClient(authentication, AmazonEndpoint.US, "nager-20");
var searchRequest = new SearchRequest
{
    Keywords = "canon eos",
    ItemPage = 2,
    Resources = new []
    {
        //You can found all available Resources in the documentation
        //https://webservices.amazon.com/paapi5/documentation/search-items.html#resources-parameter
        "Images.Primary.Large",
        "ItemInfo.Title",
        "ItemInfo.Features"
    }
};
var result = await client.SearchItemsAsync(searchRequest);
Item Lookup
var authentication = new AmazonAuthentication("accesskey", "secretkey");
var client = new AmazonProductAdvertisingClient(authentication, AmazonEndpoint.US, "nager-20");
var result = await client.GetItemsAsync("B00BYPW00I");
Multi Item Lookup
var authentication = new AmazonAuthentication("accesskey", "secretkey");
var client = new AmazonProductAdvertisingClient(authentication, AmazonEndpoint.US, "nager-20");
var result = await client.GetItemsAsync(new string[] { "B00BYPW00I", "B004MKNBJG" });

Amazon Documentation

More Repositories

1

Nager.Date

Worldwide holidays (REST API), NuGet or docker container 🌎
C#
1,051
star
2

Nager.PublicSuffix

.NET public suffix domain parser
C#
145
star
3

Nager.Country

Worldwide Country Informations (ISO-3166-1 Alpha2, ISO-3166-1 Alpha3, ISO 639-1)
C#
101
star
4

Nager.VideoStream

Get images from a network camera stream or webcam
C#
47
star
5

Nager.ArticleNumber

C# Validate Article Numbers ASIN, EAN8, EAN13, GTIN, ISBN, ISBN13, SKU, UPC
C#
31
star
6

Nager.TcpClient

A simple asynchronous TcpClient
C#
15
star
7

Nager.TemplateBuilder

Visual Studio Solution Builder
C#
10
star
8

Nager.FirewallManagement

Manage the default Windows Firewall over an WebAPI
C#
5
star
9

Nager.Holiday

Holiday Client for date.nager.at
C#
4
star
10

Nager.UdpDeviceDiscovery

Udp Broadcast device discovery
C#
3
star
11

Nager.TextValidation

Validate text via keyboard keys position
C#
2
star
12

Nager.CertificateManagement

Certificates management for Lets Encrypt
C#
2
star
13

Nager.ArduinoStepperMotor

.NET control a stepper motor via arduino
C++
2
star
14

Nager.AmazonSesNotification

Amazon Simple Email Service Notification Processing
C#
2
star
15

Nager.WindowsCalendarWeek

Show CalendarWeek in SystemTray of Microsoft Windows
C#
2
star
16

Nager.DataFragmentationHandler

Process fragmented bytes via a buffer to packages
C#
1
star
17

Nager.ConfigParser

.NET key value configuration parser
C#
1
star
18

Nager.BedLight

bed light with motion detector
C++
1
star
19

Nager.BathControl

BathControl is a smart fan control with humidity sensor and a ESP8266
Lua
1
star
20

Nager.Authentication

asp.net webapi headless authentication
C#
1
star