#kittycad #detail #api-client #cad #zoo #3d

kittycad

A fully generated & opinionated API client for the KittyCAD API

115 releases

new 0.3.38 May 23, 2025
0.3.36 Mar 30, 2025
0.3.28 Dec 4, 2024
0.3.26 Nov 20, 2024
0.1.10 Jul 26, 2022

#24 in Graphics APIs

Download history 4630/week @ 2025-02-02 2966/week @ 2025-02-09 3328/week @ 2025-02-16 5817/week @ 2025-02-23 6943/week @ 2025-03-02 7542/week @ 2025-03-09 10805/week @ 2025-03-16 6304/week @ 2025-03-23 4743/week @ 2025-03-30 5337/week @ 2025-04-06 5010/week @ 2025-04-13 6570/week @ 2025-04-20 6768/week @ 2025-04-27 5056/week @ 2025-05-04 8339/week @ 2025-05-11 5008/week @ 2025-05-18

25,937 downloads per month
Used in 5 crates (4 directly)

MIT license

1MB
27K SLoC

kittycad

A fully generated & opinionated API client for the KittyCAD API.

docs.rs

API Details

API server for Zoo

Contact

url email
https://zoo.dev api@zoo.dev

Client Details

This client is generated from the OpenAPI specs based on API spec version 0.1.0. This way it will remain up to date as features are added.

The documentation for the crate is generated along with the code to make this library easy to use.

To install the library, add the following to your Cargo.toml file.

[dependencies]
kittycad = "0.3.38"

Basic example

Typical use will require intializing a Client. This requires a user agent string and set of credentials.

use kittycad::Client;

let client = Client::new(
    String::from("api-key"),
);

Alternatively, the library can search for most of the variables required for the client in the environment:

  • KITTYCAD_API_TOKEN
  • ZOO_API_TOKEN

And then you can create a client from the environment.

use kittycad::Client;

let client = Client::new_from_env();

Dependencies

~24–45MB
~422K SLoC