Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Ruby wrapper for the Gumroad API.
Ruby
Branch: master
Failed to load latest commit information.
lib added first test using rspec and webmock
spec added first test using rspec and webmock
.gitignore
Gemfile fresh gem
LICENSE license and readme
README.markdown updated readme
Rakefile fresh gem
gumroad.gemspec added first test using rspec and webmock

README.markdown

Gumroad

Gumroad is a Ruby wrapper for the Gumroad API.

Authentication

client = Gumroad.new(username, password)

If you feel the need to, you can revoke the session.

client.destroy

Links

links = client.links.all
link = client.links.find(id)

You now have a Gumroad::Link object. You can call methods such as link.name and link.url.

You can then modify the link's attributes and call save to update it.

link.price = '100'
link.save

It's pretty easy to create a link.

client.links.create(name: '@maxstoller', url: 'http://twitter.com/maxstoller', description: 'A link to @maxstoller.', price: '100')

Contributing

Pull requests are welcomed.

Something went wrong with that request. Please try again.