Printer
thingiverse.api.printer
Contains endpoint functions for accessing the API
get_printers_0_brands
asyncio(*, client, include_user_defined=UNSET)
async
Get a list of all known printer brands
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
include_user_defined
|
bool | Unset
|
|
UNSET
|
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 |
|---|---|
GetPrinters0BrandsResponse401 | GetPrinters0BrandsResponse403 | list[GetPrinters0BrandsResponse200Item] | None
|
GetPrinters0BrandsResponse401 | GetPrinters0BrandsResponse403 | list[GetPrinters0BrandsResponse200Item] |
Source code in thingiverse/api/printer/get_printers_0_brands.py
asyncio_detailed(*, client, include_user_defined=UNSET)
async
Get a list of all known printer brands
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
include_user_defined
|
bool | Unset
|
|
UNSET
|
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[GetPrinters0BrandsResponse401 | GetPrinters0BrandsResponse403 | list[GetPrinters0BrandsResponse200Item]]
|
Response[GetPrinters0BrandsResponse401 | GetPrinters0BrandsResponse403 | list[GetPrinters0BrandsResponse200Item]] |
Source code in thingiverse/api/printer/get_printers_0_brands.py
sync(*, client, include_user_defined=UNSET)
Get a list of all known printer brands
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
include_user_defined
|
bool | Unset
|
|
UNSET
|
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 |
|---|---|
GetPrinters0BrandsResponse401 | GetPrinters0BrandsResponse403 | list[GetPrinters0BrandsResponse200Item] | None
|
GetPrinters0BrandsResponse401 | GetPrinters0BrandsResponse403 | list[GetPrinters0BrandsResponse200Item] |
Source code in thingiverse/api/printer/get_printers_0_brands.py
sync_detailed(*, client, include_user_defined=UNSET)
Get a list of all known printer brands
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
include_user_defined
|
bool | Unset
|
|
UNSET
|
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[GetPrinters0BrandsResponse401 | GetPrinters0BrandsResponse403 | list[GetPrinters0BrandsResponse200Item]]
|
Response[GetPrinters0BrandsResponse401 | GetPrinters0BrandsResponse403 | list[GetPrinters0BrandsResponse200Item]] |
Source code in thingiverse/api/printer/get_printers_0_brands.py
get_printers_0_models
asyncio(*, client, include_user_defined=UNSET, brand=UNSET)
async
Get a list of known printers
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
include_user_defined
|
bool | Unset
|
|
UNSET
|
brand
|
str | Unset
|
Example: Ultimaker. |
UNSET
|
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 |
|---|---|
GetPrinters0ModelsResponse401 | GetPrinters0ModelsResponse403 | list[GetPrinters0ModelsResponse200Item] | None
|
GetPrinters0ModelsResponse401 | GetPrinters0ModelsResponse403 | list[GetPrinters0ModelsResponse200Item] |
Source code in thingiverse/api/printer/get_printers_0_models.py
asyncio_detailed(*, client, include_user_defined=UNSET, brand=UNSET)
async
Get a list of known printers
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
include_user_defined
|
bool | Unset
|
|
UNSET
|
brand
|
str | Unset
|
Example: Ultimaker. |
UNSET
|
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[GetPrinters0ModelsResponse401 | GetPrinters0ModelsResponse403 | list[GetPrinters0ModelsResponse200Item]]
|
Response[GetPrinters0ModelsResponse401 | GetPrinters0ModelsResponse403 | list[GetPrinters0ModelsResponse200Item]] |
Source code in thingiverse/api/printer/get_printers_0_models.py
sync(*, client, include_user_defined=UNSET, brand=UNSET)
Get a list of known printers
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
include_user_defined
|
bool | Unset
|
|
UNSET
|
brand
|
str | Unset
|
Example: Ultimaker. |
UNSET
|
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 |
|---|---|
GetPrinters0ModelsResponse401 | GetPrinters0ModelsResponse403 | list[GetPrinters0ModelsResponse200Item] | None
|
GetPrinters0ModelsResponse401 | GetPrinters0ModelsResponse403 | list[GetPrinters0ModelsResponse200Item] |
Source code in thingiverse/api/printer/get_printers_0_models.py
sync_detailed(*, client, include_user_defined=UNSET, brand=UNSET)
Get a list of known printers
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
include_user_defined
|
bool | Unset
|
|
UNSET
|
brand
|
str | Unset
|
Example: Ultimaker. |
UNSET
|
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[GetPrinters0ModelsResponse401 | GetPrinters0ModelsResponse403 | list[GetPrinters0ModelsResponse200Item]]
|
Response[GetPrinters0ModelsResponse401 | GetPrinters0ModelsResponse403 | list[GetPrinters0ModelsResponse200Item]] |