kittycad.api.meta.internal_get_api_token_for_discord_user

Functions

asyncio(discord_id, *, client)

This endpoint allows us to run API calls from our discord bot on behalf of a user.

asyncio_detailed(discord_id, *, client)

sync(discord_id, *, client)

This endpoint allows us to run API calls from our discord bot on behalf of a user.

sync_detailed(discord_id, *, client)

kittycad.api.meta.internal_get_api_token_for_discord_user._build_response(*, response)[source][source]
Return type:

Response[Union[ApiToken, Error, None]]

kittycad.api.meta.internal_get_api_token_for_discord_user._get_kwargs(discord_id, *, client)[source][source]
Return type:

Dict[str, Any]

kittycad.api.meta.internal_get_api_token_for_discord_user._parse_response(*, response)[source][source]
Return type:

Union[ApiToken, Error, None]

async kittycad.api.meta.internal_get_api_token_for_discord_user.asyncio(discord_id, *, client)[source][source]

This endpoint allows us to run API calls from our discord bot on behalf of a user. The user must have a discord account linked to their Zoo Account via oauth2 for this to work. You must be a Zoo employee to use this endpoint.

Return type:

Union[ApiToken, Error, None]

async kittycad.api.meta.internal_get_api_token_for_discord_user.asyncio_detailed(discord_id, *, client)[source][source]
Return type:

Response[Union[ApiToken, Error, None]]

kittycad.api.meta.internal_get_api_token_for_discord_user.sync(discord_id, *, client)[source][source]

This endpoint allows us to run API calls from our discord bot on behalf of a user. The user must have a discord account linked to their Zoo Account via oauth2 for this to work. You must be a Zoo employee to use this endpoint.

Return type:

Union[ApiToken, Error, None]

kittycad.api.meta.internal_get_api_token_for_discord_user.sync_detailed(discord_id, *, client)[source][source]
Return type:

Response[Union[ApiToken, Error, None]]