Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend GetPhotos request to include image URL's #13

Merged
merged 1 commit into from
Apr 25, 2023
Merged

Conversation

JoooostB
Copy link
Contributor

The GetPhotos request allows for some extra parameters, which gives you the URL of several image sizes for every Photo in a PhotoSet in return. I also extended the Photo struct to accommodate this change.

An example use-case would be downloading all images from an Album.

@JoooostB JoooostB changed the title Extend Photo struct to include image URL's Extend GetPhotos request to include image URL's Oct 26, 2021
@focusaurus
Copy link
Contributor

This would save me an extra 2 requests per photo for my use case. I'm mirroring a subset of photos to local disk. It would be nice to have this merged.

@masci masci merged commit 63b26c6 into masci:v2 Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants