/amazon-wishlist-to-drive-sheet

A job that posts new items from an Amazon wishlist to spreadsheet on Google Drive.

Primary LanguageJavaScriptMIT LicenseMIT

An Amazon Wishlist to Google Drive integration

This is a job that posts new items from an Amazon wishlist to a spreadsheet on Google Drive.

Requirements

That last one provides an endpoint to scrape a wishlist page from Amazon. At the time of this writing, scraping is currently necessary as Amazon doesn't provide access to a wishlist through their API. I recommend using a free Heroku PHP instance

Installation

Next clone this project and run:

npm install

Now create a file titled .env with the following contents, and fill in your environment keys.

GOOGLE_SPREADSHEET_KEY=''
GOOGLE_CLIENT_EMAIL=''
GOOGLE_PRIVATE_KEY=''
AMAZON_WISHLIST_ID=''
AWS_ACCESS_KEY=''
AWS_SECRET_KEY=''
AWS_REGION=''
S3_BUCKET=''

For deploying, you can host this anywhere. If you're using Heroku, you can run the following to load your environment variables into your instance.

./bin/heroku-config