Skip to content

Search

thingiverse.api.search

Contains endpoint functions for accessing the API

get_search_tag_tag

asyncio(tag, *, client) async

Parameters:

Name Type Description Default
tag str

Example: test.

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
Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404 | None

Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404

Source code in thingiverse/api/search/get_search_tag_tag.py
async def asyncio(
    tag: str,
    *,
    client: AuthenticatedClient,
) -> (
    Any
    | GetSearchTagTagResponse401
    | GetSearchTagTagResponse403
    | GetSearchTagTagResponse404
    | None
):
    """
    Args:
        tag (str):  Example: test.

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404
    """

    return (
        await asyncio_detailed(
            tag=tag,
            client=client,
        )
    ).parsed

asyncio_detailed(tag, *, client) async

Parameters:

Name Type Description Default
tag str

Example: test.

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[Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404]

Response[Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404]

Source code in thingiverse/api/search/get_search_tag_tag.py
async def asyncio_detailed(
    tag: str,
    *,
    client: AuthenticatedClient,
) -> Response[
    Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404
]:
    """
    Args:
        tag (str):  Example: test.

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404]
    """

    kwargs = _get_kwargs(
        tag=tag,
    )

    response = await client.get_async_httpx_client().request(**kwargs)

    return _build_response(client=client, response=response)

sync(tag, *, client)

Parameters:

Name Type Description Default
tag str

Example: test.

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
Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404 | None

Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404

Source code in thingiverse/api/search/get_search_tag_tag.py
def sync(
    tag: str,
    *,
    client: AuthenticatedClient,
) -> (
    Any
    | GetSearchTagTagResponse401
    | GetSearchTagTagResponse403
    | GetSearchTagTagResponse404
    | None
):
    """
    Args:
        tag (str):  Example: test.

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404
    """

    return sync_detailed(
        tag=tag,
        client=client,
    ).parsed

sync_detailed(tag, *, client)

Parameters:

Name Type Description Default
tag str

Example: test.

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[Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404]

Response[Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404]

Source code in thingiverse/api/search/get_search_tag_tag.py
def sync_detailed(
    tag: str,
    *,
    client: AuthenticatedClient,
) -> Response[
    Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404
]:
    """
    Args:
        tag (str):  Example: test.

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[Any | GetSearchTagTagResponse401 | GetSearchTagTagResponse403 | GetSearchTagTagResponse404]
    """

    kwargs = _get_kwargs(
        tag=tag,
    )

    response = client.get_httpx_client().request(
        **kwargs,
    )

    return _build_response(client=client, response=response)

get_search_term_autocomplete

asyncio(term, *, client) async

Search data by term for autocomplete

Parameters:

Name Type Description Default
term str

Example: test.

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
Any | GetSearchTermAutocompleteResponse401 | GetSearchTermAutocompleteResponse403 | GetSearchTermAutocompleteResponse404 | None

Any | GetSearchTermAutocompleteResponse401 | GetSearchTermAutocompleteResponse403 | GetSearchTermAutocompleteResponse404

Source code in thingiverse/api/search/get_search_term_autocomplete.py
async def asyncio(
    term: str,
    *,
    client: AuthenticatedClient,
) -> (
    Any
    | GetSearchTermAutocompleteResponse401
    | GetSearchTermAutocompleteResponse403
    | GetSearchTermAutocompleteResponse404
    | None
):
    """Search data by term for autocomplete

    Args:
        term (str):  Example: test.

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Any | GetSearchTermAutocompleteResponse401 | GetSearchTermAutocompleteResponse403 | GetSearchTermAutocompleteResponse404
    """

    return (
        await asyncio_detailed(
            term=term,
            client=client,
        )
    ).parsed

asyncio_detailed(term, *, client) async

Search data by term for autocomplete

Parameters:

Name Type Description Default
term str

Example: test.

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[Any | GetSearchTermAutocompleteResponse401 | GetSearchTermAutocompleteResponse403 | GetSearchTermAutocompleteResponse404]

Response[Any | GetSearchTermAutocompleteResponse401 | GetSearchTermAutocompleteResponse403 | GetSearchTermAutocompleteResponse404]

Source code in thingiverse/api/search/get_search_term_autocomplete.py
async def asyncio_detailed(
    term: str,
    *,
    client: AuthenticatedClient,
) -> Response[
    Any
    | GetSearchTermAutocompleteResponse401
    | GetSearchTermAutocompleteResponse403
    | GetSearchTermAutocompleteResponse404
]:
    """Search data by term for autocomplete

    Args:
        term (str):  Example: test.

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[Any | GetSearchTermAutocompleteResponse401 | GetSearchTermAutocompleteResponse403 | GetSearchTermAutocompleteResponse404]
    """

    kwargs = _get_kwargs(
        term=term,
    )

    response = await client.get_async_httpx_client().request(**kwargs)

    return _build_response(client=client, response=response)

sync(term, *, client)

Search data by term for autocomplete

Parameters:

Name Type Description Default
term str

Example: test.

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
Any | GetSearchTermAutocompleteResponse401 | GetSearchTermAutocompleteResponse403 | GetSearchTermAutocompleteResponse404 | None

Any | GetSearchTermAutocompleteResponse401 | GetSearchTermAutocompleteResponse403 | GetSearchTermAutocompleteResponse404

Source code in thingiverse/api/search/get_search_term_autocomplete.py
def sync(
    term: str,
    *,
    client: AuthenticatedClient,
) -> (
    Any
    | GetSearchTermAutocompleteResponse401
    | GetSearchTermAutocompleteResponse403
    | GetSearchTermAutocompleteResponse404
    | None
):
    """Search data by term for autocomplete

    Args:
        term (str):  Example: test.

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Any | GetSearchTermAutocompleteResponse401 | GetSearchTermAutocompleteResponse403 | GetSearchTermAutocompleteResponse404
    """

    return sync_detailed(
        term=term,
        client=client,
    ).parsed

sync_detailed(term, *, client)

Search data by term for autocomplete

Parameters:

Name Type Description Default
term str

Example: test.

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[Any | GetSearchTermAutocompleteResponse401 | GetSearchTermAutocompleteResponse403 | GetSearchTermAutocompleteResponse404]

Response[Any | GetSearchTermAutocompleteResponse401 | GetSearchTermAutocompleteResponse403 | GetSearchTermAutocompleteResponse404]

Source code in thingiverse/api/search/get_search_term_autocomplete.py
def sync_detailed(
    term: str,
    *,
    client: AuthenticatedClient,
) -> Response[
    Any
    | GetSearchTermAutocompleteResponse401
    | GetSearchTermAutocompleteResponse403
    | GetSearchTermAutocompleteResponse404
]:
    """Search data by term for autocomplete

    Args:
        term (str):  Example: test.

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[Any | GetSearchTermAutocompleteResponse401 | GetSearchTermAutocompleteResponse403 | GetSearchTermAutocompleteResponse404]
    """

    kwargs = _get_kwargs(
        term=term,
    )

    response = client.get_httpx_client().request(
        **kwargs,
    )

    return _build_response(client=client, response=response)

get_search_term_typecollections

asyncio(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, is_featured=UNSET, liked_by=UNSET) async

Search for Collections

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypecollectionsSort | Unset
UNSET
is_featured GetSearchTermTypecollectionsIsFeatured | Unset
UNSET
liked_by int | 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
GetSearchTermTypecollectionsResponse200 | GetSearchTermTypecollectionsResponse401 | GetSearchTermTypecollectionsResponse403 | GetSearchTermTypecollectionsResponse404 | None

GetSearchTermTypecollectionsResponse200 | GetSearchTermTypecollectionsResponse401 | GetSearchTermTypecollectionsResponse403 | GetSearchTermTypecollectionsResponse404

Source code in thingiverse/api/search/get_search_term_typecollections.py
async def asyncio(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypecollectionsSort | Unset = UNSET,
    is_featured: GetSearchTermTypecollectionsIsFeatured | Unset = UNSET,
    liked_by: int | Unset = UNSET,
) -> (
    GetSearchTermTypecollectionsResponse200
    | GetSearchTermTypecollectionsResponse401
    | GetSearchTermTypecollectionsResponse403
    | GetSearchTermTypecollectionsResponse404
    | None
):
    """Search for Collections

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypecollectionsSort | Unset):
        is_featured (GetSearchTermTypecollectionsIsFeatured | Unset):
        liked_by (int | Unset):

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        GetSearchTermTypecollectionsResponse200 | GetSearchTermTypecollectionsResponse401 | GetSearchTermTypecollectionsResponse403 | GetSearchTermTypecollectionsResponse404
    """

    return (
        await asyncio_detailed(
            term=term,
            client=client,
            page=page,
            per_page=per_page,
            sort=sort,
            is_featured=is_featured,
            liked_by=liked_by,
        )
    ).parsed

asyncio_detailed(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, is_featured=UNSET, liked_by=UNSET) async

Search for Collections

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypecollectionsSort | Unset
UNSET
is_featured GetSearchTermTypecollectionsIsFeatured | Unset
UNSET
liked_by int | 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[GetSearchTermTypecollectionsResponse200 | GetSearchTermTypecollectionsResponse401 | GetSearchTermTypecollectionsResponse403 | GetSearchTermTypecollectionsResponse404]

Response[GetSearchTermTypecollectionsResponse200 | GetSearchTermTypecollectionsResponse401 | GetSearchTermTypecollectionsResponse403 | GetSearchTermTypecollectionsResponse404]

Source code in thingiverse/api/search/get_search_term_typecollections.py
async def asyncio_detailed(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypecollectionsSort | Unset = UNSET,
    is_featured: GetSearchTermTypecollectionsIsFeatured | Unset = UNSET,
    liked_by: int | Unset = UNSET,
) -> Response[
    GetSearchTermTypecollectionsResponse200
    | GetSearchTermTypecollectionsResponse401
    | GetSearchTermTypecollectionsResponse403
    | GetSearchTermTypecollectionsResponse404
]:
    """Search for Collections

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypecollectionsSort | Unset):
        is_featured (GetSearchTermTypecollectionsIsFeatured | Unset):
        liked_by (int | Unset):

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[GetSearchTermTypecollectionsResponse200 | GetSearchTermTypecollectionsResponse401 | GetSearchTermTypecollectionsResponse403 | GetSearchTermTypecollectionsResponse404]
    """

    kwargs = _get_kwargs(
        term=term,
        page=page,
        per_page=per_page,
        sort=sort,
        is_featured=is_featured,
        liked_by=liked_by,
    )

    response = await client.get_async_httpx_client().request(**kwargs)

    return _build_response(client=client, response=response)

sync(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, is_featured=UNSET, liked_by=UNSET)

Search for Collections

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypecollectionsSort | Unset
UNSET
is_featured GetSearchTermTypecollectionsIsFeatured | Unset
UNSET
liked_by int | 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
GetSearchTermTypecollectionsResponse200 | GetSearchTermTypecollectionsResponse401 | GetSearchTermTypecollectionsResponse403 | GetSearchTermTypecollectionsResponse404 | None

GetSearchTermTypecollectionsResponse200 | GetSearchTermTypecollectionsResponse401 | GetSearchTermTypecollectionsResponse403 | GetSearchTermTypecollectionsResponse404

Source code in thingiverse/api/search/get_search_term_typecollections.py
def sync(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypecollectionsSort | Unset = UNSET,
    is_featured: GetSearchTermTypecollectionsIsFeatured | Unset = UNSET,
    liked_by: int | Unset = UNSET,
) -> (
    GetSearchTermTypecollectionsResponse200
    | GetSearchTermTypecollectionsResponse401
    | GetSearchTermTypecollectionsResponse403
    | GetSearchTermTypecollectionsResponse404
    | None
):
    """Search for Collections

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypecollectionsSort | Unset):
        is_featured (GetSearchTermTypecollectionsIsFeatured | Unset):
        liked_by (int | Unset):

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        GetSearchTermTypecollectionsResponse200 | GetSearchTermTypecollectionsResponse401 | GetSearchTermTypecollectionsResponse403 | GetSearchTermTypecollectionsResponse404
    """

    return sync_detailed(
        term=term,
        client=client,
        page=page,
        per_page=per_page,
        sort=sort,
        is_featured=is_featured,
        liked_by=liked_by,
    ).parsed

sync_detailed(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, is_featured=UNSET, liked_by=UNSET)

Search for Collections

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypecollectionsSort | Unset
UNSET
is_featured GetSearchTermTypecollectionsIsFeatured | Unset
UNSET
liked_by int | 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[GetSearchTermTypecollectionsResponse200 | GetSearchTermTypecollectionsResponse401 | GetSearchTermTypecollectionsResponse403 | GetSearchTermTypecollectionsResponse404]

Response[GetSearchTermTypecollectionsResponse200 | GetSearchTermTypecollectionsResponse401 | GetSearchTermTypecollectionsResponse403 | GetSearchTermTypecollectionsResponse404]

Source code in thingiverse/api/search/get_search_term_typecollections.py
def sync_detailed(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypecollectionsSort | Unset = UNSET,
    is_featured: GetSearchTermTypecollectionsIsFeatured | Unset = UNSET,
    liked_by: int | Unset = UNSET,
) -> Response[
    GetSearchTermTypecollectionsResponse200
    | GetSearchTermTypecollectionsResponse401
    | GetSearchTermTypecollectionsResponse403
    | GetSearchTermTypecollectionsResponse404
]:
    """Search for Collections

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypecollectionsSort | Unset):
        is_featured (GetSearchTermTypecollectionsIsFeatured | Unset):
        liked_by (int | Unset):

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[GetSearchTermTypecollectionsResponse200 | GetSearchTermTypecollectionsResponse401 | GetSearchTermTypecollectionsResponse403 | GetSearchTermTypecollectionsResponse404]
    """

    kwargs = _get_kwargs(
        term=term,
        page=page,
        per_page=per_page,
        sort=sort,
        is_featured=is_featured,
        liked_by=liked_by,
    )

    response = client.get_httpx_client().request(
        **kwargs,
    )

    return _build_response(client=client, response=response)

get_search_term_typemakes

asyncio(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, user_id=UNSET) async

Search for Makes

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypemakesSort | Unset
UNSET
user_id int | 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
GetSearchTermTypemakesResponse200 | GetSearchTermTypemakesResponse401 | GetSearchTermTypemakesResponse403 | GetSearchTermTypemakesResponse404 | None

GetSearchTermTypemakesResponse200 | GetSearchTermTypemakesResponse401 | GetSearchTermTypemakesResponse403 | GetSearchTermTypemakesResponse404

Source code in thingiverse/api/search/get_search_term_typemakes.py
async def asyncio(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypemakesSort | Unset = UNSET,
    user_id: int | Unset = UNSET,
) -> (
    GetSearchTermTypemakesResponse200
    | GetSearchTermTypemakesResponse401
    | GetSearchTermTypemakesResponse403
    | GetSearchTermTypemakesResponse404
    | None
):
    """Search for Makes

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypemakesSort | Unset):
        user_id (int | Unset):

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        GetSearchTermTypemakesResponse200 | GetSearchTermTypemakesResponse401 | GetSearchTermTypemakesResponse403 | GetSearchTermTypemakesResponse404
    """

    return (
        await asyncio_detailed(
            term=term,
            client=client,
            page=page,
            per_page=per_page,
            sort=sort,
            user_id=user_id,
        )
    ).parsed

asyncio_detailed(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, user_id=UNSET) async

Search for Makes

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypemakesSort | Unset
UNSET
user_id int | 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[GetSearchTermTypemakesResponse200 | GetSearchTermTypemakesResponse401 | GetSearchTermTypemakesResponse403 | GetSearchTermTypemakesResponse404]

Response[GetSearchTermTypemakesResponse200 | GetSearchTermTypemakesResponse401 | GetSearchTermTypemakesResponse403 | GetSearchTermTypemakesResponse404]

Source code in thingiverse/api/search/get_search_term_typemakes.py
async def asyncio_detailed(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypemakesSort | Unset = UNSET,
    user_id: int | Unset = UNSET,
) -> Response[
    GetSearchTermTypemakesResponse200
    | GetSearchTermTypemakesResponse401
    | GetSearchTermTypemakesResponse403
    | GetSearchTermTypemakesResponse404
]:
    """Search for Makes

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypemakesSort | Unset):
        user_id (int | Unset):

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[GetSearchTermTypemakesResponse200 | GetSearchTermTypemakesResponse401 | GetSearchTermTypemakesResponse403 | GetSearchTermTypemakesResponse404]
    """

    kwargs = _get_kwargs(
        term=term,
        page=page,
        per_page=per_page,
        sort=sort,
        user_id=user_id,
    )

    response = await client.get_async_httpx_client().request(**kwargs)

    return _build_response(client=client, response=response)

sync(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, user_id=UNSET)

Search for Makes

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypemakesSort | Unset
UNSET
user_id int | 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
GetSearchTermTypemakesResponse200 | GetSearchTermTypemakesResponse401 | GetSearchTermTypemakesResponse403 | GetSearchTermTypemakesResponse404 | None

GetSearchTermTypemakesResponse200 | GetSearchTermTypemakesResponse401 | GetSearchTermTypemakesResponse403 | GetSearchTermTypemakesResponse404

Source code in thingiverse/api/search/get_search_term_typemakes.py
def sync(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypemakesSort | Unset = UNSET,
    user_id: int | Unset = UNSET,
) -> (
    GetSearchTermTypemakesResponse200
    | GetSearchTermTypemakesResponse401
    | GetSearchTermTypemakesResponse403
    | GetSearchTermTypemakesResponse404
    | None
):
    """Search for Makes

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypemakesSort | Unset):
        user_id (int | Unset):

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        GetSearchTermTypemakesResponse200 | GetSearchTermTypemakesResponse401 | GetSearchTermTypemakesResponse403 | GetSearchTermTypemakesResponse404
    """

    return sync_detailed(
        term=term,
        client=client,
        page=page,
        per_page=per_page,
        sort=sort,
        user_id=user_id,
    ).parsed

sync_detailed(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, user_id=UNSET)

Search for Makes

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypemakesSort | Unset
UNSET
user_id int | 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[GetSearchTermTypemakesResponse200 | GetSearchTermTypemakesResponse401 | GetSearchTermTypemakesResponse403 | GetSearchTermTypemakesResponse404]

Response[GetSearchTermTypemakesResponse200 | GetSearchTermTypemakesResponse401 | GetSearchTermTypemakesResponse403 | GetSearchTermTypemakesResponse404]

Source code in thingiverse/api/search/get_search_term_typemakes.py
def sync_detailed(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypemakesSort | Unset = UNSET,
    user_id: int | Unset = UNSET,
) -> Response[
    GetSearchTermTypemakesResponse200
    | GetSearchTermTypemakesResponse401
    | GetSearchTermTypemakesResponse403
    | GetSearchTermTypemakesResponse404
]:
    """Search for Makes

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypemakesSort | Unset):
        user_id (int | Unset):

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[GetSearchTermTypemakesResponse200 | GetSearchTermTypemakesResponse401 | GetSearchTermTypemakesResponse403 | GetSearchTermTypemakesResponse404]
    """

    kwargs = _get_kwargs(
        term=term,
        page=page,
        per_page=per_page,
        sort=sort,
        user_id=user_id,
    )

    response = client.get_httpx_client().request(
        **kwargs,
    )

    return _build_response(client=client, response=response)

get_search_term_typethings

asyncio(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, posted_before=UNSET, posted_after=UNSET, is_edu_approved=UNSET, subjects=UNSET, grades=UNSET, standards=UNSET, license_=UNSET, customizable=UNSET, show_customized=UNSET, has_makes=UNSET, is_featured=UNSET, is_fis_challenge_winnereatured=UNSET, liked_by=UNSET, made_by=UNSET, is_derivative=UNSET, category_id=UNSET) async

Search for Things

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypethingsSort | Unset
UNSET
posted_before str | Unset
UNSET
posted_after str | Unset
UNSET
is_edu_approved str | Unset
UNSET
subjects str | Unset
UNSET
grades str | Unset
UNSET
standards str | Unset
UNSET
license_ str | Unset
UNSET
customizable str | Unset
UNSET
show_customized str | Unset
UNSET
has_makes GetSearchTermTypethingsHasMakes | Unset
UNSET
is_featured GetSearchTermTypethingsIsFeatured | Unset
UNSET
liked_by str | Unset
UNSET
made_by str | Unset
UNSET
is_derivative GetSearchTermTypethingsIsDerivative | Unset
UNSET
category_id int | 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
GetSearchTermTypethingsResponse200 | GetSearchTermTypethingsResponse401 | GetSearchTermTypethingsResponse403 | GetSearchTermTypethingsResponse404 | None

GetSearchTermTypethingsResponse200 | GetSearchTermTypethingsResponse401 | GetSearchTermTypethingsResponse403 | GetSearchTermTypethingsResponse404

Source code in thingiverse/api/search/get_search_term_typethings.py
async def asyncio(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypethingsSort | Unset = UNSET,
    posted_before: str | Unset = UNSET,
    posted_after: str | Unset = UNSET,
    is_edu_approved: str | Unset = UNSET,
    subjects: str | Unset = UNSET,
    grades: str | Unset = UNSET,
    standards: str | Unset = UNSET,
    license_: str | Unset = UNSET,
    customizable: str | Unset = UNSET,
    show_customized: str | Unset = UNSET,
    has_makes: GetSearchTermTypethingsHasMakes | Unset = UNSET,
    is_featured: GetSearchTermTypethingsIsFeatured | Unset = UNSET,
    is_fis_challenge_winnereatured: GetSearchTermTypethingsIsFisChallengeWinnereatured
    | Unset = UNSET,
    liked_by: str | Unset = UNSET,
    made_by: str | Unset = UNSET,
    is_derivative: GetSearchTermTypethingsIsDerivative | Unset = UNSET,
    category_id: int | Unset = UNSET,
) -> (
    GetSearchTermTypethingsResponse200
    | GetSearchTermTypethingsResponse401
    | GetSearchTermTypethingsResponse403
    | GetSearchTermTypethingsResponse404
    | None
):
    """Search for Things

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypethingsSort | Unset):
        posted_before (str | Unset):
        posted_after (str | Unset):
        is_edu_approved (str | Unset):
        subjects (str | Unset):
        grades (str | Unset):
        standards (str | Unset):
        license_ (str | Unset):
        customizable (str | Unset):
        show_customized (str | Unset):
        has_makes (GetSearchTermTypethingsHasMakes | Unset):
        is_featured (GetSearchTermTypethingsIsFeatured | Unset):
        is_fis_challenge_winnereatured (GetSearchTermTypethingsIsFisChallengeWinnereatured |
            Unset):
        liked_by (str | Unset):
        made_by (str | Unset):
        is_derivative (GetSearchTermTypethingsIsDerivative | Unset):
        category_id (int | Unset):

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        GetSearchTermTypethingsResponse200 | GetSearchTermTypethingsResponse401 | GetSearchTermTypethingsResponse403 | GetSearchTermTypethingsResponse404
    """

    return (
        await asyncio_detailed(
            term=term,
            client=client,
            page=page,
            per_page=per_page,
            sort=sort,
            posted_before=posted_before,
            posted_after=posted_after,
            is_edu_approved=is_edu_approved,
            subjects=subjects,
            grades=grades,
            standards=standards,
            license_=license_,
            customizable=customizable,
            show_customized=show_customized,
            has_makes=has_makes,
            is_featured=is_featured,
            is_fis_challenge_winnereatured=is_fis_challenge_winnereatured,
            liked_by=liked_by,
            made_by=made_by,
            is_derivative=is_derivative,
            category_id=category_id,
        )
    ).parsed

asyncio_detailed(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, posted_before=UNSET, posted_after=UNSET, is_edu_approved=UNSET, subjects=UNSET, grades=UNSET, standards=UNSET, license_=UNSET, customizable=UNSET, show_customized=UNSET, has_makes=UNSET, is_featured=UNSET, is_fis_challenge_winnereatured=UNSET, liked_by=UNSET, made_by=UNSET, is_derivative=UNSET, category_id=UNSET) async

Search for Things

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypethingsSort | Unset
UNSET
posted_before str | Unset
UNSET
posted_after str | Unset
UNSET
is_edu_approved str | Unset
UNSET
subjects str | Unset
UNSET
grades str | Unset
UNSET
standards str | Unset
UNSET
license_ str | Unset
UNSET
customizable str | Unset
UNSET
show_customized str | Unset
UNSET
has_makes GetSearchTermTypethingsHasMakes | Unset
UNSET
is_featured GetSearchTermTypethingsIsFeatured | Unset
UNSET
liked_by str | Unset
UNSET
made_by str | Unset
UNSET
is_derivative GetSearchTermTypethingsIsDerivative | Unset
UNSET
category_id int | 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[GetSearchTermTypethingsResponse200 | GetSearchTermTypethingsResponse401 | GetSearchTermTypethingsResponse403 | GetSearchTermTypethingsResponse404]

Response[GetSearchTermTypethingsResponse200 | GetSearchTermTypethingsResponse401 | GetSearchTermTypethingsResponse403 | GetSearchTermTypethingsResponse404]

Source code in thingiverse/api/search/get_search_term_typethings.py
async def asyncio_detailed(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypethingsSort | Unset = UNSET,
    posted_before: str | Unset = UNSET,
    posted_after: str | Unset = UNSET,
    is_edu_approved: str | Unset = UNSET,
    subjects: str | Unset = UNSET,
    grades: str | Unset = UNSET,
    standards: str | Unset = UNSET,
    license_: str | Unset = UNSET,
    customizable: str | Unset = UNSET,
    show_customized: str | Unset = UNSET,
    has_makes: GetSearchTermTypethingsHasMakes | Unset = UNSET,
    is_featured: GetSearchTermTypethingsIsFeatured | Unset = UNSET,
    is_fis_challenge_winnereatured: GetSearchTermTypethingsIsFisChallengeWinnereatured
    | Unset = UNSET,
    liked_by: str | Unset = UNSET,
    made_by: str | Unset = UNSET,
    is_derivative: GetSearchTermTypethingsIsDerivative | Unset = UNSET,
    category_id: int | Unset = UNSET,
) -> Response[
    GetSearchTermTypethingsResponse200
    | GetSearchTermTypethingsResponse401
    | GetSearchTermTypethingsResponse403
    | GetSearchTermTypethingsResponse404
]:
    """Search for Things

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypethingsSort | Unset):
        posted_before (str | Unset):
        posted_after (str | Unset):
        is_edu_approved (str | Unset):
        subjects (str | Unset):
        grades (str | Unset):
        standards (str | Unset):
        license_ (str | Unset):
        customizable (str | Unset):
        show_customized (str | Unset):
        has_makes (GetSearchTermTypethingsHasMakes | Unset):
        is_featured (GetSearchTermTypethingsIsFeatured | Unset):
        is_fis_challenge_winnereatured (GetSearchTermTypethingsIsFisChallengeWinnereatured |
            Unset):
        liked_by (str | Unset):
        made_by (str | Unset):
        is_derivative (GetSearchTermTypethingsIsDerivative | Unset):
        category_id (int | Unset):

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[GetSearchTermTypethingsResponse200 | GetSearchTermTypethingsResponse401 | GetSearchTermTypethingsResponse403 | GetSearchTermTypethingsResponse404]
    """

    kwargs = _get_kwargs(
        term=term,
        page=page,
        per_page=per_page,
        sort=sort,
        posted_before=posted_before,
        posted_after=posted_after,
        is_edu_approved=is_edu_approved,
        subjects=subjects,
        grades=grades,
        standards=standards,
        license_=license_,
        customizable=customizable,
        show_customized=show_customized,
        has_makes=has_makes,
        is_featured=is_featured,
        is_fis_challenge_winnereatured=is_fis_challenge_winnereatured,
        liked_by=liked_by,
        made_by=made_by,
        is_derivative=is_derivative,
        category_id=category_id,
    )

    response = await client.get_async_httpx_client().request(**kwargs)

    return _build_response(client=client, response=response)

sync(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, posted_before=UNSET, posted_after=UNSET, is_edu_approved=UNSET, subjects=UNSET, grades=UNSET, standards=UNSET, license_=UNSET, customizable=UNSET, show_customized=UNSET, has_makes=UNSET, is_featured=UNSET, is_fis_challenge_winnereatured=UNSET, liked_by=UNSET, made_by=UNSET, is_derivative=UNSET, category_id=UNSET)

Search for Things

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypethingsSort | Unset
UNSET
posted_before str | Unset
UNSET
posted_after str | Unset
UNSET
is_edu_approved str | Unset
UNSET
subjects str | Unset
UNSET
grades str | Unset
UNSET
standards str | Unset
UNSET
license_ str | Unset
UNSET
customizable str | Unset
UNSET
show_customized str | Unset
UNSET
has_makes GetSearchTermTypethingsHasMakes | Unset
UNSET
is_featured GetSearchTermTypethingsIsFeatured | Unset
UNSET
liked_by str | Unset
UNSET
made_by str | Unset
UNSET
is_derivative GetSearchTermTypethingsIsDerivative | Unset
UNSET
category_id int | 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
GetSearchTermTypethingsResponse200 | GetSearchTermTypethingsResponse401 | GetSearchTermTypethingsResponse403 | GetSearchTermTypethingsResponse404 | None

GetSearchTermTypethingsResponse200 | GetSearchTermTypethingsResponse401 | GetSearchTermTypethingsResponse403 | GetSearchTermTypethingsResponse404

Source code in thingiverse/api/search/get_search_term_typethings.py
def sync(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypethingsSort | Unset = UNSET,
    posted_before: str | Unset = UNSET,
    posted_after: str | Unset = UNSET,
    is_edu_approved: str | Unset = UNSET,
    subjects: str | Unset = UNSET,
    grades: str | Unset = UNSET,
    standards: str | Unset = UNSET,
    license_: str | Unset = UNSET,
    customizable: str | Unset = UNSET,
    show_customized: str | Unset = UNSET,
    has_makes: GetSearchTermTypethingsHasMakes | Unset = UNSET,
    is_featured: GetSearchTermTypethingsIsFeatured | Unset = UNSET,
    is_fis_challenge_winnereatured: GetSearchTermTypethingsIsFisChallengeWinnereatured
    | Unset = UNSET,
    liked_by: str | Unset = UNSET,
    made_by: str | Unset = UNSET,
    is_derivative: GetSearchTermTypethingsIsDerivative | Unset = UNSET,
    category_id: int | Unset = UNSET,
) -> (
    GetSearchTermTypethingsResponse200
    | GetSearchTermTypethingsResponse401
    | GetSearchTermTypethingsResponse403
    | GetSearchTermTypethingsResponse404
    | None
):
    """Search for Things

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypethingsSort | Unset):
        posted_before (str | Unset):
        posted_after (str | Unset):
        is_edu_approved (str | Unset):
        subjects (str | Unset):
        grades (str | Unset):
        standards (str | Unset):
        license_ (str | Unset):
        customizable (str | Unset):
        show_customized (str | Unset):
        has_makes (GetSearchTermTypethingsHasMakes | Unset):
        is_featured (GetSearchTermTypethingsIsFeatured | Unset):
        is_fis_challenge_winnereatured (GetSearchTermTypethingsIsFisChallengeWinnereatured |
            Unset):
        liked_by (str | Unset):
        made_by (str | Unset):
        is_derivative (GetSearchTermTypethingsIsDerivative | Unset):
        category_id (int | Unset):

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        GetSearchTermTypethingsResponse200 | GetSearchTermTypethingsResponse401 | GetSearchTermTypethingsResponse403 | GetSearchTermTypethingsResponse404
    """

    return sync_detailed(
        term=term,
        client=client,
        page=page,
        per_page=per_page,
        sort=sort,
        posted_before=posted_before,
        posted_after=posted_after,
        is_edu_approved=is_edu_approved,
        subjects=subjects,
        grades=grades,
        standards=standards,
        license_=license_,
        customizable=customizable,
        show_customized=show_customized,
        has_makes=has_makes,
        is_featured=is_featured,
        is_fis_challenge_winnereatured=is_fis_challenge_winnereatured,
        liked_by=liked_by,
        made_by=made_by,
        is_derivative=is_derivative,
        category_id=category_id,
    ).parsed

sync_detailed(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, posted_before=UNSET, posted_after=UNSET, is_edu_approved=UNSET, subjects=UNSET, grades=UNSET, standards=UNSET, license_=UNSET, customizable=UNSET, show_customized=UNSET, has_makes=UNSET, is_featured=UNSET, is_fis_challenge_winnereatured=UNSET, liked_by=UNSET, made_by=UNSET, is_derivative=UNSET, category_id=UNSET)

Search for Things

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypethingsSort | Unset
UNSET
posted_before str | Unset
UNSET
posted_after str | Unset
UNSET
is_edu_approved str | Unset
UNSET
subjects str | Unset
UNSET
grades str | Unset
UNSET
standards str | Unset
UNSET
license_ str | Unset
UNSET
customizable str | Unset
UNSET
show_customized str | Unset
UNSET
has_makes GetSearchTermTypethingsHasMakes | Unset
UNSET
is_featured GetSearchTermTypethingsIsFeatured | Unset
UNSET
liked_by str | Unset
UNSET
made_by str | Unset
UNSET
is_derivative GetSearchTermTypethingsIsDerivative | Unset
UNSET
category_id int | 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[GetSearchTermTypethingsResponse200 | GetSearchTermTypethingsResponse401 | GetSearchTermTypethingsResponse403 | GetSearchTermTypethingsResponse404]

Response[GetSearchTermTypethingsResponse200 | GetSearchTermTypethingsResponse401 | GetSearchTermTypethingsResponse403 | GetSearchTermTypethingsResponse404]

Source code in thingiverse/api/search/get_search_term_typethings.py
def sync_detailed(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypethingsSort | Unset = UNSET,
    posted_before: str | Unset = UNSET,
    posted_after: str | Unset = UNSET,
    is_edu_approved: str | Unset = UNSET,
    subjects: str | Unset = UNSET,
    grades: str | Unset = UNSET,
    standards: str | Unset = UNSET,
    license_: str | Unset = UNSET,
    customizable: str | Unset = UNSET,
    show_customized: str | Unset = UNSET,
    has_makes: GetSearchTermTypethingsHasMakes | Unset = UNSET,
    is_featured: GetSearchTermTypethingsIsFeatured | Unset = UNSET,
    is_fis_challenge_winnereatured: GetSearchTermTypethingsIsFisChallengeWinnereatured
    | Unset = UNSET,
    liked_by: str | Unset = UNSET,
    made_by: str | Unset = UNSET,
    is_derivative: GetSearchTermTypethingsIsDerivative | Unset = UNSET,
    category_id: int | Unset = UNSET,
) -> Response[
    GetSearchTermTypethingsResponse200
    | GetSearchTermTypethingsResponse401
    | GetSearchTermTypethingsResponse403
    | GetSearchTermTypethingsResponse404
]:
    """Search for Things

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypethingsSort | Unset):
        posted_before (str | Unset):
        posted_after (str | Unset):
        is_edu_approved (str | Unset):
        subjects (str | Unset):
        grades (str | Unset):
        standards (str | Unset):
        license_ (str | Unset):
        customizable (str | Unset):
        show_customized (str | Unset):
        has_makes (GetSearchTermTypethingsHasMakes | Unset):
        is_featured (GetSearchTermTypethingsIsFeatured | Unset):
        is_fis_challenge_winnereatured (GetSearchTermTypethingsIsFisChallengeWinnereatured |
            Unset):
        liked_by (str | Unset):
        made_by (str | Unset):
        is_derivative (GetSearchTermTypethingsIsDerivative | Unset):
        category_id (int | Unset):

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[GetSearchTermTypethingsResponse200 | GetSearchTermTypethingsResponse401 | GetSearchTermTypethingsResponse403 | GetSearchTermTypethingsResponse404]
    """

    kwargs = _get_kwargs(
        term=term,
        page=page,
        per_page=per_page,
        sort=sort,
        posted_before=posted_before,
        posted_after=posted_after,
        is_edu_approved=is_edu_approved,
        subjects=subjects,
        grades=grades,
        standards=standards,
        license_=license_,
        customizable=customizable,
        show_customized=show_customized,
        has_makes=has_makes,
        is_featured=is_featured,
        is_fis_challenge_winnereatured=is_fis_challenge_winnereatured,
        liked_by=liked_by,
        made_by=made_by,
        is_derivative=is_derivative,
        category_id=category_id,
    )

    response = client.get_httpx_client().request(
        **kwargs,
    )

    return _build_response(client=client, response=response)

get_search_term_typeusers

asyncio(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, users_thing_count=UNSET, users_user_types=UNSET, skill_level=UNSET, programs=UNSET) async

Search for Users

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypeusersSort | Unset
UNSET
users_thing_count int | Unset
UNSET
users_user_types int | Unset

Example: 4.

UNSET
skill_level GetSearchTermTypeusersSkillLevel | Unset
UNSET
programs int | Unset

Example: 35.

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
GetSearchTermTypeusersResponse200 | GetSearchTermTypeusersResponse401 | GetSearchTermTypeusersResponse403 | GetSearchTermTypeusersResponse404 | None

GetSearchTermTypeusersResponse200 | GetSearchTermTypeusersResponse401 | GetSearchTermTypeusersResponse403 | GetSearchTermTypeusersResponse404

Source code in thingiverse/api/search/get_search_term_typeusers.py
async def asyncio(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypeusersSort | Unset = UNSET,
    users_thing_count: int | Unset = UNSET,
    users_user_types: int | Unset = UNSET,
    skill_level: GetSearchTermTypeusersSkillLevel | Unset = UNSET,
    programs: int | Unset = UNSET,
) -> (
    GetSearchTermTypeusersResponse200
    | GetSearchTermTypeusersResponse401
    | GetSearchTermTypeusersResponse403
    | GetSearchTermTypeusersResponse404
    | None
):
    """Search for Users

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypeusersSort | Unset):
        users_thing_count (int | Unset):
        users_user_types (int | Unset):  Example: 4.
        skill_level (GetSearchTermTypeusersSkillLevel | Unset):
        programs (int | Unset):  Example: 35.

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        GetSearchTermTypeusersResponse200 | GetSearchTermTypeusersResponse401 | GetSearchTermTypeusersResponse403 | GetSearchTermTypeusersResponse404
    """

    return (
        await asyncio_detailed(
            term=term,
            client=client,
            page=page,
            per_page=per_page,
            sort=sort,
            users_thing_count=users_thing_count,
            users_user_types=users_user_types,
            skill_level=skill_level,
            programs=programs,
        )
    ).parsed

asyncio_detailed(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, users_thing_count=UNSET, users_user_types=UNSET, skill_level=UNSET, programs=UNSET) async

Search for Users

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypeusersSort | Unset
UNSET
users_thing_count int | Unset
UNSET
users_user_types int | Unset

Example: 4.

UNSET
skill_level GetSearchTermTypeusersSkillLevel | Unset
UNSET
programs int | Unset

Example: 35.

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[GetSearchTermTypeusersResponse200 | GetSearchTermTypeusersResponse401 | GetSearchTermTypeusersResponse403 | GetSearchTermTypeusersResponse404]

Response[GetSearchTermTypeusersResponse200 | GetSearchTermTypeusersResponse401 | GetSearchTermTypeusersResponse403 | GetSearchTermTypeusersResponse404]

Source code in thingiverse/api/search/get_search_term_typeusers.py
async def asyncio_detailed(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypeusersSort | Unset = UNSET,
    users_thing_count: int | Unset = UNSET,
    users_user_types: int | Unset = UNSET,
    skill_level: GetSearchTermTypeusersSkillLevel | Unset = UNSET,
    programs: int | Unset = UNSET,
) -> Response[
    GetSearchTermTypeusersResponse200
    | GetSearchTermTypeusersResponse401
    | GetSearchTermTypeusersResponse403
    | GetSearchTermTypeusersResponse404
]:
    """Search for Users

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypeusersSort | Unset):
        users_thing_count (int | Unset):
        users_user_types (int | Unset):  Example: 4.
        skill_level (GetSearchTermTypeusersSkillLevel | Unset):
        programs (int | Unset):  Example: 35.

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[GetSearchTermTypeusersResponse200 | GetSearchTermTypeusersResponse401 | GetSearchTermTypeusersResponse403 | GetSearchTermTypeusersResponse404]
    """

    kwargs = _get_kwargs(
        term=term,
        page=page,
        per_page=per_page,
        sort=sort,
        users_thing_count=users_thing_count,
        users_user_types=users_user_types,
        skill_level=skill_level,
        programs=programs,
    )

    response = await client.get_async_httpx_client().request(**kwargs)

    return _build_response(client=client, response=response)

sync(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, users_thing_count=UNSET, users_user_types=UNSET, skill_level=UNSET, programs=UNSET)

Search for Users

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypeusersSort | Unset
UNSET
users_thing_count int | Unset
UNSET
users_user_types int | Unset

Example: 4.

UNSET
skill_level GetSearchTermTypeusersSkillLevel | Unset
UNSET
programs int | Unset

Example: 35.

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
GetSearchTermTypeusersResponse200 | GetSearchTermTypeusersResponse401 | GetSearchTermTypeusersResponse403 | GetSearchTermTypeusersResponse404 | None

GetSearchTermTypeusersResponse200 | GetSearchTermTypeusersResponse401 | GetSearchTermTypeusersResponse403 | GetSearchTermTypeusersResponse404

Source code in thingiverse/api/search/get_search_term_typeusers.py
def sync(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypeusersSort | Unset = UNSET,
    users_thing_count: int | Unset = UNSET,
    users_user_types: int | Unset = UNSET,
    skill_level: GetSearchTermTypeusersSkillLevel | Unset = UNSET,
    programs: int | Unset = UNSET,
) -> (
    GetSearchTermTypeusersResponse200
    | GetSearchTermTypeusersResponse401
    | GetSearchTermTypeusersResponse403
    | GetSearchTermTypeusersResponse404
    | None
):
    """Search for Users

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypeusersSort | Unset):
        users_thing_count (int | Unset):
        users_user_types (int | Unset):  Example: 4.
        skill_level (GetSearchTermTypeusersSkillLevel | Unset):
        programs (int | Unset):  Example: 35.

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        GetSearchTermTypeusersResponse200 | GetSearchTermTypeusersResponse401 | GetSearchTermTypeusersResponse403 | GetSearchTermTypeusersResponse404
    """

    return sync_detailed(
        term=term,
        client=client,
        page=page,
        per_page=per_page,
        sort=sort,
        users_thing_count=users_thing_count,
        users_user_types=users_user_types,
        skill_level=skill_level,
        programs=programs,
    ).parsed

sync_detailed(term, *, client, page=UNSET, per_page=UNSET, sort=UNSET, users_thing_count=UNSET, users_user_types=UNSET, skill_level=UNSET, programs=UNSET)

Search for Users

Parameters:

Name Type Description Default
term str

Example: test.

required
page int | Unset

Example: 1.

UNSET
per_page int | Unset

Example: 30.

UNSET
sort GetSearchTermTypeusersSort | Unset
UNSET
users_thing_count int | Unset
UNSET
users_user_types int | Unset

Example: 4.

UNSET
skill_level GetSearchTermTypeusersSkillLevel | Unset
UNSET
programs int | Unset

Example: 35.

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[GetSearchTermTypeusersResponse200 | GetSearchTermTypeusersResponse401 | GetSearchTermTypeusersResponse403 | GetSearchTermTypeusersResponse404]

Response[GetSearchTermTypeusersResponse200 | GetSearchTermTypeusersResponse401 | GetSearchTermTypeusersResponse403 | GetSearchTermTypeusersResponse404]

Source code in thingiverse/api/search/get_search_term_typeusers.py
def sync_detailed(
    term: str,
    *,
    client: AuthenticatedClient,
    page: int | Unset = UNSET,
    per_page: int | Unset = UNSET,
    sort: GetSearchTermTypeusersSort | Unset = UNSET,
    users_thing_count: int | Unset = UNSET,
    users_user_types: int | Unset = UNSET,
    skill_level: GetSearchTermTypeusersSkillLevel | Unset = UNSET,
    programs: int | Unset = UNSET,
) -> Response[
    GetSearchTermTypeusersResponse200
    | GetSearchTermTypeusersResponse401
    | GetSearchTermTypeusersResponse403
    | GetSearchTermTypeusersResponse404
]:
    """Search for Users

    Args:
        term (str):  Example: test.
        page (int | Unset):  Example: 1.
        per_page (int | Unset):  Example: 30.
        sort (GetSearchTermTypeusersSort | Unset):
        users_thing_count (int | Unset):
        users_user_types (int | Unset):  Example: 4.
        skill_level (GetSearchTermTypeusersSkillLevel | Unset):
        programs (int | Unset):  Example: 35.

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[GetSearchTermTypeusersResponse200 | GetSearchTermTypeusersResponse401 | GetSearchTermTypeusersResponse403 | GetSearchTermTypeusersResponse404]
    """

    kwargs = _get_kwargs(
        term=term,
        page=page,
        per_page=per_page,
        sort=sort,
        users_thing_count=users_thing_count,
        users_user_types=users_user_types,
        skill_level=skill_level,
        programs=programs,
    )

    response = client.get_httpx_client().request(
        **kwargs,
    )

    return _build_response(client=client, response=response)