Program
thingiverse.api.program
Contains endpoint functions for accessing the API
get_programs_0_all
asyncio(*, client)
async
Get a list of programs
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 |
|---|---|
GetPrograms0AllResponse200 | GetPrograms0AllResponse401 | GetPrograms0AllResponse403 | None
|
GetPrograms0AllResponse200 | GetPrograms0AllResponse401 | GetPrograms0AllResponse403 |
Source code in thingiverse/api/program/get_programs_0_all.py
asyncio_detailed(*, client)
async
Get a list of programs
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[GetPrograms0AllResponse200 | GetPrograms0AllResponse401 | GetPrograms0AllResponse403]
|
Response[GetPrograms0AllResponse200 | GetPrograms0AllResponse401 | GetPrograms0AllResponse403] |
Source code in thingiverse/api/program/get_programs_0_all.py
sync(*, client)
Get a list of programs
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 |
|---|---|
GetPrograms0AllResponse200 | GetPrograms0AllResponse401 | GetPrograms0AllResponse403 | None
|
GetPrograms0AllResponse200 | GetPrograms0AllResponse401 | GetPrograms0AllResponse403 |
Source code in thingiverse/api/program/get_programs_0_all.py
sync_detailed(*, client)
Get a list of programs
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[GetPrograms0AllResponse200 | GetPrograms0AllResponse401 | GetPrograms0AllResponse403]
|
Response[GetPrograms0AllResponse200 | GetPrograms0AllResponse401 | GetPrograms0AllResponse403] |