NOT OFFICIAL. This is only a Python wrapper for Thingiverse REST API.
This project was started in Feb 10 2022. It is still being developed and improved. To see the Test PyPI package, check it here.
This project uses python-box enpoint response. Python Box allows for use of dot-notation in dictionaries, this includes making inaccessible keys safe to access as well.
** We are constantly working on upgrading our documentation.
# From python-box documentation https://pypi.org/project/python-box/
from box import Box
movie_box = Box({ "Robin Hood: Men in Tights": { "imdb stars": 6.7, "length": 104 } })
movie_box.Robin_Hood_Men_in_Tights.imdb_stars
# 6.7
Check out full python-thingiverse documentation
To install the package run
pip install python-thingiverse
Initializing the Thingiverse
from thingiverse import Thingiverse
thingy = Thingiverse(access_token="<access token>")
search_results = thingy.search_term("RPi 4")
Using python-box
with our wrapper makes it so that we could do this:
search_results.total
search_results.hits
python3 -m pip install -i https://test.pypi.org/simple/ python-thingiverse
PATCH /users/{$username}/
DELETE /users/{$username}/
POST /users/{$username}/verify-account
GET /users/{$username}/event-count
POST /users/{$username}/followers
DELETE /users/{$username}/followers
POST /users/{$username}/avatar-image
POST /users/{$username}/cover-image
- Look into autoversioning
- Tests for new endpoints