ezkl / go-amazon-mws-api

Amazon MWS API client
17 stars 14 forks source link

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)
}