App
thingiverse.api.app
Contains endpoint functions for accessing the API
get_apps_0_approvedandpublished
asyncio(*, client)
async
Get all approved and published apps
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 |
|---|---|
GetApps0ApprovedandpublishedResponse401 | GetApps0ApprovedandpublishedResponse403 | GetApps0ApprovedandpublishedResponse404 | list[Any] | None
|
GetApps0ApprovedandpublishedResponse401 | GetApps0ApprovedandpublishedResponse403 | GetApps0ApprovedandpublishedResponse404 | list[Any] |
Source code in thingiverse/api/app/get_apps_0_approvedandpublished.py
asyncio_detailed(*, client)
async
Get all approved and published apps
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[GetApps0ApprovedandpublishedResponse401 | GetApps0ApprovedandpublishedResponse403 | GetApps0ApprovedandpublishedResponse404 | list[Any]]
|
Response[GetApps0ApprovedandpublishedResponse401 | GetApps0ApprovedandpublishedResponse403 | GetApps0ApprovedandpublishedResponse404 | list[Any]] |
Source code in thingiverse/api/app/get_apps_0_approvedandpublished.py
sync(*, client)
Get all approved and published apps
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 |
|---|---|
GetApps0ApprovedandpublishedResponse401 | GetApps0ApprovedandpublishedResponse403 | GetApps0ApprovedandpublishedResponse404 | list[Any] | None
|
GetApps0ApprovedandpublishedResponse401 | GetApps0ApprovedandpublishedResponse403 | GetApps0ApprovedandpublishedResponse404 | list[Any] |
Source code in thingiverse/api/app/get_apps_0_approvedandpublished.py
sync_detailed(*, client)
Get all approved and published apps
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[GetApps0ApprovedandpublishedResponse401 | GetApps0ApprovedandpublishedResponse403 | GetApps0ApprovedandpublishedResponse404 | list[Any]]
|
Response[GetApps0ApprovedandpublishedResponse401 | GetApps0ApprovedandpublishedResponse403 | GetApps0ApprovedandpublishedResponse404 | list[Any]] |
Source code in thingiverse/api/app/get_apps_0_approvedandpublished.py
get_apps_id
asyncio(id, *, client)
async
Get app by id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id
|
int
|
Example: 22. |
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 |
|---|---|
AppSchema | GetAppsIdResponse401 | GetAppsIdResponse403 | GetAppsIdResponse404 | None
|
AppSchema | GetAppsIdResponse401 | GetAppsIdResponse403 | GetAppsIdResponse404 |
Source code in thingiverse/api/app/get_apps_id.py
asyncio_detailed(id, *, client)
async
Get app by id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id
|
int
|
Example: 22. |
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[AppSchema | GetAppsIdResponse401 | GetAppsIdResponse403 | GetAppsIdResponse404]
|
Response[AppSchema | GetAppsIdResponse401 | GetAppsIdResponse403 | GetAppsIdResponse404] |
Source code in thingiverse/api/app/get_apps_id.py
sync(id, *, client)
Get app by id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id
|
int
|
Example: 22. |
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 |
|---|---|
AppSchema | GetAppsIdResponse401 | GetAppsIdResponse403 | GetAppsIdResponse404 | None
|
AppSchema | GetAppsIdResponse401 | GetAppsIdResponse403 | GetAppsIdResponse404 |
Source code in thingiverse/api/app/get_apps_id.py
sync_detailed(id, *, client)
Get app by id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id
|
int
|
Example: 22. |
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[AppSchema | GetAppsIdResponse401 | GetAppsIdResponse403 | GetAppsIdResponse404]
|
Response[AppSchema | GetAppsIdResponse401 | GetAppsIdResponse403 | GetAppsIdResponse404] |