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

Set Download Directory for Each Download #13

Open
martinomburajr opened this issue Apr 20, 2019 · 2 comments
Open

Set Download Directory for Each Download #13

martinomburajr opened this issue Apr 20, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@martinomburajr
Copy link
Owner

This is a flag/argument that can be passed to the server that can set the download directory for the next single photo.

@martinomburajr martinomburajr added this to the Pexels 0.1 milestone Apr 20, 2019
@martinomburajr martinomburajr self-assigned this Apr 20, 2019
@martinomburajr martinomburajr added enhancement New feature or request good first issue Good for newcomers labels Apr 20, 2019
@martinomburajr
Copy link
Owner Author

Proposal

curl -H GET localhost:9191/new/223432?dir=/home/userdir/Pictures

The flag/argument
dir stands for directory. This flag can be changed before the 0.1 release and under serious consideration only after.

@martinomburajr
Copy link
Owner Author

Another example using the rand endpoint

curl -H GET localhost:9191/rand?dir=/home/userdir/Pictures. A test for relative paths should be checked, most likely will work however absolute paths are preferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant