Skip to content

elango/go-amazon-product-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple library to simplify grabbing and posting data from the Amazon Affiliate API

Build Status MIT GODOC

Have a look at the go docs here: http://godoc.org/github.com/DDRBoxman/go-amazon-product-api

Example


package main

import (
	"fmt"
	"net/http"

	"github.com/DDRBoxman/go-amazon-product-api"
)

func main() {
	var api amazonproduct.AmazonProductAPI

	api.AccessKey = ""
	api.SecretKey = ""
	api.Host = "webservices.amazon.com"
	api.AssociateTag = ""
	api.Client = &http.Client{} // optional

	result,err := api.ItemSearchByKeyword("sgt+frog", 0)
	if (err != nil) {
		fmt.Println(err)
	}

	fmt.Println(result)
}

About

Wrapper for the Amazon Product Advertising API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%