Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you post a more complete example? #6

Open
spierepf opened this issue Mar 8, 2019 · 2 comments
Open

Can you post a more complete example? #6

spierepf opened this issue Mar 8, 2019 · 2 comments

Comments

@spierepf
Copy link

spierepf commented Mar 8, 2019

The example you show

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

I can get client_id and client_secret from the developer console, but I am struggling with the third parameter. I understand it has something to do with https://www.thingiverse.com/developers/getting-started but I don't know enough ruby to manage that step...

@spuder
Copy link

spuder commented Dec 20, 2021

Did you ever figure this out? I am also running into the same question

@spierepf
Copy link
Author

I wound up doing it in raw python.
https://github.com/spierepf/Enclosure/blob/master/update.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants