tiqav
ruby wrapper for tiqav.com
Installation
% gem install tiqav
Usage
require 'rubygems'
require 'tiqav'
images = Tiqav.search 'ちくわ'
images.each do |img|
puts "(id:#{img.id}) #{img.permalink} => #{img.url}"
img.save(img.filename)
puts "saved!! => #{img.filename}"
end
img = Tiqav.random
puts img.url
puts img.thumbnail
puts img.glitch
puts Tiqav.feeling_lucky 'ちくわ'
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request