kittycad.client.Client
- class kittycad.client.Client(base_url='https://api.zoo.dev', *, token, cookies=NOTHING, headers=NOTHING, timeout=120.0, verify_ssl=True, http_client=None)[source][source]
Bases:
object
A Client which has been authenticated for use on secured endpoints of the KittyCAD API.
Method generated by attrs for class Client.
- get_http_client()[source][source]
Get the underlying httpx.Client, creating it if necessary
- Return type:
Client
- with_base_url(url)[source][source]
Get a new client matching this one with a new base url
- Return type:
- with_cookies(cookies)[source][source]
Get a new client matching this one with additional cookies
- Return type: