Project

gumroad

0.01
No commit activity in last 3 years
No release in over 3 years
A Ruby wrapper for the Gumroad API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

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.