Client
- class kittycad.Client(base_url='https://api.kittycad.io', *, token, cookies=NOTHING, headers=NOTHING, timeout=50.0, verify_ssl=True)[source]
Bases:
object
A Client which has been authenticated for use on secured endpoints of the KittyCAD 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