Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
= flickr-folder
Uses the Flickr API (through flickr_fu) to fill a folder with images that match a specified search string and quantity.
Results can be filtered by passing a filter proc that will be invoked per photo, so that you can further filter your photos beyond what the Flickr API provides in its search syntax. For example, the API won't let you search based on image resolution.
If you delete any photos and then run the update method again then it will automatically find new images that match your search conditions and your filter, and it will check them against a SQLite3 database to make sure that it never downloads the same photo twice.
= Example usage
require 'rubygems' require 'flickr-folder'
FlickrFolder.new({ :config => 'flickr.yml', :folder => { :path => 'photos', :number => 250, :minimum_resolution => 1000 }, :search => { :tags => 'miami beach', :sort => 'interestingness-desc' } }).update
= API key
You need an API key from Flickr. Don't worry, it's quick and easy to get one. Just sign up at Flickr, log in, and go to the "App Garden"[http://www.flickr.com/services/apps/create/apply] to create your key. Then create a YML file that looks like this:
key: "0923400YOUR0KEY0GOES0HERE00198" secret: "987YOUR0SECRET0HERE023"
== Note on Patches/Pull Requests
== Copyright
Copyright (c) 2010 Ryan Alyn Porter. See LICENSE for details.
FAQs
Unknown package
We found that flickr-folder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.