Home Banner
thingiverse.api.home_banner
Contains endpoint functions for accessing the API
get_homebanner
asyncio(*, client)
async
Get the banner on the home page
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 |
|---|---|
GetHomebannerResponse401 | GetHomebannerResponse403 | GetHomebannerResponse404 | HomebannerSchema | None
|
GetHomebannerResponse401 | GetHomebannerResponse403 | GetHomebannerResponse404 | HomebannerSchema |
Source code in thingiverse/api/home_banner/get_homebanner.py
asyncio_detailed(*, client)
async
Get the banner on the home page
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[GetHomebannerResponse401 | GetHomebannerResponse403 | GetHomebannerResponse404 | HomebannerSchema]
|
Response[GetHomebannerResponse401 | GetHomebannerResponse403 | GetHomebannerResponse404 | HomebannerSchema] |
Source code in thingiverse/api/home_banner/get_homebanner.py
sync(*, client)
Get the banner on the home page
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 |
|---|---|
GetHomebannerResponse401 | GetHomebannerResponse403 | GetHomebannerResponse404 | HomebannerSchema | None
|
GetHomebannerResponse401 | GetHomebannerResponse403 | GetHomebannerResponse404 | HomebannerSchema |
Source code in thingiverse/api/home_banner/get_homebanner.py
sync_detailed(*, client)
Get the banner on the home page
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[GetHomebannerResponse401 | GetHomebannerResponse403 | GetHomebannerResponse404 | HomebannerSchema]
|
Response[GetHomebannerResponse401 | GetHomebannerResponse403 | GetHomebannerResponse404 | HomebannerSchema] |