Gyazo API wrapper for Ruby
% gem install gyazo
Register new application and get ACCESS TOKEN, then
require 'gyazo'
gyazo = Gyazo::Client.new 'your-access-token'
res = gyazo.upload 'my_image.png'
puts res['permalink_url'] # => "http://gyazo.com/a1b2cdef345"gyazo.list.each do |image|
image['image_id']
endgyazo.delete image_idsetup
% gem install bundler
% bundle install
% export GYAZO_TOKEN=a1b2cdef3456 ## set your API Token
run test
% bundle exec rake test
- 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