This script is used for downloading photos from Amazon Phtos album and making postcards out of them.
Postcard creation is done using Postcards. Follow the instruction from that page on how to
fill config.json
file.
In order to just download images use following steps:
- Create album on Amazon Photos.
- Share it via
share link
- Copy share ID from the link (
https://www.amazon.com/photos/share/sharelinkidsharelinkidsharelink
) - Invoke script with id from url:
./image_downloader.js sharelinkidsharelinkidsharelink
- Images will be downloaded in archive.zip
To download images and create one postcard run following steps:
- Create album on Amazon Photos.
- Share it via
share link
- Copy share ID from the link (
https://www.amazon.com/photos/share/sharelinkidsharelinkidsharelink
) - Invoke script
./print_postcard.sh sharelinkidsharelinkidsharelink
Postcard will be created and sent to your address.
Photos from the album will be stored in pictures
dir and once they have been send, they will be moved to sent
dir.