Client
- class kittycad.client.Client(base_url='https://api.kittycad.io', *, cookies=NOTHING, headers=NOTHING, timeout=50.0, verify_ssl=True)[source]
Bases:
object
A class for keeping track of data related to the API
Methods Summary
Get headers to be used in all endpoints
- rtype
with_cookies
(cookies)Get a new client matching this one with additional cookies
with_headers
(headers)Get a new client matching this one with additional headers
with_timeout
(timeout)Get a new client matching this one with a new timeout (in seconds)
Methods Documentation
- with_cookies(cookies)[source]
Get a new client matching this one with additional cookies
- Return type