Tag
thingiverse.api.tag
Contains endpoint functions for accessing the API
get_tags
asyncio(*, client)
async
Get the list of tags.
returns a list of all tags in alphabetical order.
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetTagsResponse401 | GetTagsResponse403 | GetTagsResponse404 | list[TagSchema] | None
|
GetTagsResponse401 | GetTagsResponse403 | GetTagsResponse404 | list[TagSchema] |
Source code in thingiverse/api/tag/get_tags.py
asyncio_detailed(*, client)
async
Get the list of tags.
returns a list of all tags in alphabetical order.
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetTagsResponse401 | GetTagsResponse403 | GetTagsResponse404 | list[TagSchema]]
|
Response[GetTagsResponse401 | GetTagsResponse403 | GetTagsResponse404 | list[TagSchema]] |
Source code in thingiverse/api/tag/get_tags.py
sync(*, client)
Get the list of tags.
returns a list of all tags in alphabetical order.
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetTagsResponse401 | GetTagsResponse403 | GetTagsResponse404 | list[TagSchema] | None
|
GetTagsResponse401 | GetTagsResponse403 | GetTagsResponse404 | list[TagSchema] |
Source code in thingiverse/api/tag/get_tags.py
sync_detailed(*, client)
Get the list of tags.
returns a list of all tags in alphabetical order.
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetTagsResponse401 | GetTagsResponse403 | GetTagsResponse404 | list[TagSchema]]
|
Response[GetTagsResponse401 | GetTagsResponse403 | GetTagsResponse404 | list[TagSchema]] |
Source code in thingiverse/api/tag/get_tags.py
get_tags_0_popular
asyncio(*, client)
async
Get the list of random popular tags.
returns a list of popular tags which reset every day.
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetTags0PopularResponse401 | GetTags0PopularResponse403 | GetTags0PopularResponse404 | list[TagSchema] | None
|
GetTags0PopularResponse401 | GetTags0PopularResponse403 | GetTags0PopularResponse404 | list[TagSchema] |
Source code in thingiverse/api/tag/get_tags_0_popular.py
asyncio_detailed(*, client)
async
Get the list of random popular tags.
returns a list of popular tags which reset every day.
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetTags0PopularResponse401 | GetTags0PopularResponse403 | GetTags0PopularResponse404 | list[TagSchema]]
|
Response[GetTags0PopularResponse401 | GetTags0PopularResponse403 | GetTags0PopularResponse404 | list[TagSchema]] |
Source code in thingiverse/api/tag/get_tags_0_popular.py
sync(*, client)
Get the list of random popular tags.
returns a list of popular tags which reset every day.
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetTags0PopularResponse401 | GetTags0PopularResponse403 | GetTags0PopularResponse404 | list[TagSchema] | None
|
GetTags0PopularResponse401 | GetTags0PopularResponse403 | GetTags0PopularResponse404 | list[TagSchema] |
Source code in thingiverse/api/tag/get_tags_0_popular.py
sync_detailed(*, client)
Get the list of random popular tags.
returns a list of popular tags which reset every day.
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetTags0PopularResponse401 | GetTags0PopularResponse403 | GetTags0PopularResponse404 | list[TagSchema]]
|
Response[GetTags0PopularResponse401 | GetTags0PopularResponse403 | GetTags0PopularResponse404 | list[TagSchema]] |
Source code in thingiverse/api/tag/get_tags_0_popular.py
get_tags_tag
asyncio(tag, *, client)
async
Return a representation of the given tag
Tags are normalized before searching by converting whitespace to underscores and stripping out all characters except alphanumerics, underscores, and dashes ('-').
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tag
|
str
|
Example: 3d. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetTagsTagResponse401 | GetTagsTagResponse403 | GetTagsTagResponse404 | TagSchema | None
|
GetTagsTagResponse401 | GetTagsTagResponse403 | GetTagsTagResponse404 | TagSchema |
Source code in thingiverse/api/tag/get_tags_tag.py
asyncio_detailed(tag, *, client)
async
Return a representation of the given tag
Tags are normalized before searching by converting whitespace to underscores and stripping out all characters except alphanumerics, underscores, and dashes ('-').
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tag
|
str
|
Example: 3d. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetTagsTagResponse401 | GetTagsTagResponse403 | GetTagsTagResponse404 | TagSchema]
|
Response[GetTagsTagResponse401 | GetTagsTagResponse403 | GetTagsTagResponse404 | TagSchema] |
Source code in thingiverse/api/tag/get_tags_tag.py
sync(tag, *, client)
Return a representation of the given tag
Tags are normalized before searching by converting whitespace to underscores and stripping out all characters except alphanumerics, underscores, and dashes ('-').
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tag
|
str
|
Example: 3d. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetTagsTagResponse401 | GetTagsTagResponse403 | GetTagsTagResponse404 | TagSchema | None
|
GetTagsTagResponse401 | GetTagsTagResponse403 | GetTagsTagResponse404 | TagSchema |
Source code in thingiverse/api/tag/get_tags_tag.py
sync_detailed(tag, *, client)
Return a representation of the given tag
Tags are normalized before searching by converting whitespace to underscores and stripping out all characters except alphanumerics, underscores, and dashes ('-').
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tag
|
str
|
Example: 3d. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetTagsTagResponse401 | GetTagsTagResponse403 | GetTagsTagResponse404 | TagSchema]
|
Response[GetTagsTagResponse401 | GetTagsTagResponse403 | GetTagsTagResponse404 | TagSchema] |
Source code in thingiverse/api/tag/get_tags_tag.py
get_tags_tag_search_tags
asyncio(tag, *, client)
async
Search tags by tag name.
Returns a list of all tags where the search word is included in the name.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tag
|
str
|
Example: 3d. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetTagsTagSearchTagsResponse401 | GetTagsTagSearchTagsResponse403 | GetTagsTagSearchTagsResponse404 | list[GetTagsTagSearchTagsResponse200Item] | None
|
GetTagsTagSearchTagsResponse401 | GetTagsTagSearchTagsResponse403 | GetTagsTagSearchTagsResponse404 | list[GetTagsTagSearchTagsResponse200Item] |
Source code in thingiverse/api/tag/get_tags_tag_search_tags.py
asyncio_detailed(tag, *, client)
async
Search tags by tag name.
Returns a list of all tags where the search word is included in the name.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tag
|
str
|
Example: 3d. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetTagsTagSearchTagsResponse401 | GetTagsTagSearchTagsResponse403 | GetTagsTagSearchTagsResponse404 | list[GetTagsTagSearchTagsResponse200Item]]
|
Response[GetTagsTagSearchTagsResponse401 | GetTagsTagSearchTagsResponse403 | GetTagsTagSearchTagsResponse404 | list[GetTagsTagSearchTagsResponse200Item]] |
Source code in thingiverse/api/tag/get_tags_tag_search_tags.py
sync(tag, *, client)
Search tags by tag name.
Returns a list of all tags where the search word is included in the name.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tag
|
str
|
Example: 3d. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetTagsTagSearchTagsResponse401 | GetTagsTagSearchTagsResponse403 | GetTagsTagSearchTagsResponse404 | list[GetTagsTagSearchTagsResponse200Item] | None
|
GetTagsTagSearchTagsResponse401 | GetTagsTagSearchTagsResponse403 | GetTagsTagSearchTagsResponse404 | list[GetTagsTagSearchTagsResponse200Item] |
Source code in thingiverse/api/tag/get_tags_tag_search_tags.py
sync_detailed(tag, *, client)
Search tags by tag name.
Returns a list of all tags where the search word is included in the name.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tag
|
str
|
Example: 3d. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetTagsTagSearchTagsResponse401 | GetTagsTagSearchTagsResponse403 | GetTagsTagSearchTagsResponse404 | list[GetTagsTagSearchTagsResponse200Item]]
|
Response[GetTagsTagSearchTagsResponse401 | GetTagsTagSearchTagsResponse403 | GetTagsTagSearchTagsResponse404 | list[GetTagsTagSearchTagsResponse200Item]] |
Source code in thingiverse/api/tag/get_tags_tag_search_tags.py
get_tags_tag_things
asyncio(tag, *, client)
async
Get the latest things with the specified tag
Tags are normalized before searching by converting whitespace to underscores and stripping out all characters except alphanumerics, underscores, and dashes ('-').
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tag
|
str
|
Example: 3d. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetTagsTagThingsResponse401 | GetTagsTagThingsResponse403 | GetTagsTagThingsResponse404 | list[ThingSchema] | None
|
GetTagsTagThingsResponse401 | GetTagsTagThingsResponse403 | GetTagsTagThingsResponse404 | list[ThingSchema] |
Source code in thingiverse/api/tag/get_tags_tag_things.py
asyncio_detailed(tag, *, client)
async
Get the latest things with the specified tag
Tags are normalized before searching by converting whitespace to underscores and stripping out all characters except alphanumerics, underscores, and dashes ('-').
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tag
|
str
|
Example: 3d. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetTagsTagThingsResponse401 | GetTagsTagThingsResponse403 | GetTagsTagThingsResponse404 | list[ThingSchema]]
|
Response[GetTagsTagThingsResponse401 | GetTagsTagThingsResponse403 | GetTagsTagThingsResponse404 | list[ThingSchema]] |
Source code in thingiverse/api/tag/get_tags_tag_things.py
sync(tag, *, client)
Get the latest things with the specified tag
Tags are normalized before searching by converting whitespace to underscores and stripping out all characters except alphanumerics, underscores, and dashes ('-').
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tag
|
str
|
Example: 3d. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetTagsTagThingsResponse401 | GetTagsTagThingsResponse403 | GetTagsTagThingsResponse404 | list[ThingSchema] | None
|
GetTagsTagThingsResponse401 | GetTagsTagThingsResponse403 | GetTagsTagThingsResponse404 | list[ThingSchema] |
Source code in thingiverse/api/tag/get_tags_tag_things.py
sync_detailed(tag, *, client)
Get the latest things with the specified tag
Tags are normalized before searching by converting whitespace to underscores and stripping out all characters except alphanumerics, underscores, and dashes ('-').
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tag
|
str
|
Example: 3d. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetTagsTagThingsResponse401 | GetTagsTagThingsResponse403 | GetTagsTagThingsResponse404 | list[ThingSchema]]
|
Response[GetTagsTagThingsResponse401 | GetTagsTagThingsResponse403 | GetTagsTagThingsResponse404 | list[ThingSchema]] |