Skip to content

UPCtoASIN.com -- A website to easily convert a UPC to an ASIN.

Notifications You must be signed in to change notification settings

AlexCline/upctoasin.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: My Amazon Associates account was closed, so the site was shutdown. You're welcome to fork this repo and use the code for your own projects, but the hosted site will not be returning.

UPCtoASIN.com

Build Status

UPCtoASIN.com -- A website to easily convert a UPC to an ASIN.

Features

  1. There is an sqlite database used for caching lookups.
  2. Requests to the Amazon API are throttled to 1 request/sec.

Installation

git clone git@github.com:AlexCline/upctoasin.com.git
cd upctoasin.com
npm install
make test
node app.js

Also needed is a file at conf/aws.conf with the following contents:

AWSAccessKeyId: YOURAWSACCESSID
AWSSecretKey: YOURAWSSECRETKEY
AWSTagId: YOURAWSASSOCTAGID

Mac OS X

You'll also need to specify the path to XCode before you run npm install. This is needed for the sqlite3 module.

sudo xcode-select --switch /usr/bin

CentOS

You'll need the following packages to build the required modules:

sudo yum install make

About

UPCtoASIN.com -- A website to easily convert a UPC to an ASIN.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published