amazon

package
v0.0.0-...-bf2171b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2015 License: MIT Imports: 9 Imported by: 1

README

This is an optional module for enabling automatic scan-to-buy actions from amazon.com.

This code depends on the python-amazon-product-api which can be installed using pip:

sudo pip install python-amazon-product-api

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lookup

func Lookup(barcode string, asinLookup, asinInsert *sql.Stmt) ([]*commerce.API, error)

The Lookup function first looks for the given barcode in the barcodes database. If not found there, it tries the Amazon Product API, and save all those results into the barcodes database for future reference. It returns the json (a list of API structs, one per product) and error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL