AlexCline / upctoasin.com

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:JavaScript 71.3%Language:HTML 25.4%Language:Makefile 3.3%