ImagePuller
*** Currently only supports Flickr ***
Gem designed to pull all images/videos from hosting providers.
Installation
Add this line to your application's Gemfile:
gem 'image_puller'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install image_puller
Usage
Flickr
- Require API key and Secret via https://www.flickr.com/services/apps/create
- Add settings into env variables (see Settings)
Run image_puller $filepath
in a command prompt and follow onscreen instructions
Settings
Flickr Specific Settings
Example settings file
{
"FLICKR_API_KEY": "Flickr API",
"FLICKR_SHARED_SECRET": "Flickr secret",
"OUTPUT_PATH": "path to export to",
"FLICKR_USER_ID": "https://www.flickr.com/services/api/explore/?method=flickr.people.getInfo under 'Your User ID'",
"PHOTO": "false",
"VIDEO": "true",
"PULLER_TYPE": "flickr",
"FLICKR_STARTING_PAGE": 0
}
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/neeko99/image_puller.
License
The gem is available as open source under the terms of the MIT License.