ezkl / go-amazon-mws-api

Amazon MWS API client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amazon Marketplace Web Services (MWS) API Build Status

This Amazon MWS API client is based heavily on @DDRBoxman's go-amazon-product-api.

Documentation

You can view the auto-generated documentation at http://godoc.org/github.com/ezkl/go-amazon-mws-api.

Usage

package main

import (
       "fmt"
       "github.com/ezkl/go-amazon-mws-api"
)

func main() {
       var api amazonmws.AmazonMWSAPI

       api.AccessKey = ""
       api.SecretKey = ""
       api.Host = "mws.amazonservices.com"
       api.MarketplaceId = "ATVPDKIKX0DER"
       api.SellerId = ""

       asins := []string{"0195019199"}

       result,err := api.GetLowestOfferListingsForASIN(asins)

       if (err != nil) {
           fmt.Println(err)
       }

       fmt.Println(result)
}

About

Amazon MWS API client


Languages

Language:Go 100.0%