Skip to content

makerbot/thingiverse-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rubiverse

Talk to a Universe of Things! \o/

For more information see: www.thingiverse.com/developers

This gem should be considered beta and doesn’t yet implement all of the Thingiverse API.

Installation

sudo gem install thingiverse

Ruby gem usage

This will take a temp code and do the oauth to access_token for you.

require 'thingiverse'
tv = Thingiverse::Connection.new(client_id, client_secret, code)
puts tv.things.newest.first.name

If you already have an access_token you can just do this.

tv = Thingiverse::Connection.new
tv.access_token = my_access_token
puts tv.things.find(thing_id).files.first.name

Releases

No releases published

Packages

No packages published

Languages