110 releases

new 0.3.33 Mar 14, 2025
0.3.30 Feb 26, 2025
0.3.28 Dec 4, 2024
0.3.26 Nov 20, 2024
0.1.10 Jul 26, 2022

#134 in Web programming

Download history 1917/week @ 2024-11-22 2886/week @ 2024-11-29 3822/week @ 2024-12-06 2778/week @ 2024-12-13 504/week @ 2024-12-20 604/week @ 2024-12-27 3344/week @ 2025-01-03 2804/week @ 2025-01-10 1780/week @ 2025-01-17 2512/week @ 2025-01-24 4861/week @ 2025-01-31 3222/week @ 2025-02-07 2610/week @ 2025-02-14 5365/week @ 2025-02-21 7121/week @ 2025-02-28 6133/week @ 2025-03-07

21,694 downloads per month
Used in 5 crates (4 directly)

MIT license

1MB
26K 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.33"

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–40MB
~411K SLoC