A little worker to grab backup data from Shopify and save in on S3
- shopify
- Heroku
- AWS S3
- clone me
- add as a heroku app
- Add a 'private app' to shopify and get your API key and password
- give that heroku app the following vars:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- SHOPIFY_API_KEY
- SHOPIFY_API_PASSWORD
- S3_BUCKET
- schedule!
- Shopify API has more possible endpoints you might like to hit
- Heroku is deservedly famed for great docs but I didn't actually find a guide to S3 uploads that was quite as simple as I was going for, but anyhoo still helpful.
- Matt Popovich wrote a great walkthrough for hosting a twitter bot on Heroku and I certainly couldn't have knocked this out in a few hours without that guide.