Skip to content

jdebes/slurpCwsImages-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodesWholeSale slurpCwsImages AWS Lambda Function

AWS Lambda function that grabs all codeswholesale product images and writes them to an S3 bucket.

Getting Started

This project manages dependencies with dep, use the following commands to build the vendor folder after doing a clone.

dep ensure

Environment Variables

Codeswholesale:

CWS_CLIENT_ID
CWS_CLIENT_SECRET
CWS_CLIENT_TOKEN #https://api.codeswholesale.com/oauth/token

AWS:

AWS_ACCESS_KEY_ID #When running on local dev machine only
CWS_CLIENT_SECRET #When running on local dev machine only
BUCKET

Optional:

CONCURRENCY_LIMIT #default 10
LOG_LEVEL #default info

Run Tests

Run all tests:

go test ./...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published