https://github.com/beaufour/shutterfly_sites_api
Simple API to download all photos from Shutterfly Sites
https://github.com/beaufour/shutterfly_sites_api
Last synced: 4 months ago
JSON representation
Simple API to download all photos from Shutterfly Sites
- Host: GitHub
- URL: https://github.com/beaufour/shutterfly_sites_api
- Owner: beaufour
- Created: 2022-09-28T13:56:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-07T14:44:41.000Z (about 2 years ago)
- Last Synced: 2025-02-23T02:47:13.250Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 155 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shutterfly Sites API
I wanted to download all the photos from a Shutterfly Share Site, but neither the web or the native mobile app seemed particularly great. Sadly Shutterfly doesn't expose a public API, so I reverse engineered it to download all the photos.
It depends on grabbing the authentication token from the cookie once you are logged in to the website (as I didn't bother to implement the login also).
## Usage
To download all photos in all albums:
> shutterfly_sites_api/api.py --site SITE --token TOKEN --directory DIRECTORY
* `site` - name of the Share Sites (ie the first part of the domain name, ie
* `token` - contents of the `ShrAuth` cookie
* `directory` - where to download the photos to
## API Notes
As mentioned, Shutterfly doesn't actually have a public API, so I had to deduce it from their website. It's fairly simple though. All the data is exposed through . All the picture information can be fetched through `?site=SITE&page=SITE%2fpictures&v=1&usejwt_token=true`. Each album can be found inside `Shr.P.sections[0].groups` and the photo information is inside `.items` in each group.