102 releases

0.3.25 Oct 25, 2024
0.3.22 Sep 30, 2024
0.3.9 Jul 28, 2024
0.2.63 Mar 26, 2024
0.1.10 Jul 26, 2022

#84 in Web programming

Download history 2111/week @ 2024-07-23 1957/week @ 2024-07-30 2430/week @ 2024-08-06 3605/week @ 2024-08-13 2991/week @ 2024-08-20 1482/week @ 2024-08-27 2138/week @ 2024-09-03 1517/week @ 2024-09-10 1685/week @ 2024-09-17 2926/week @ 2024-09-24 2013/week @ 2024-10-01 1119/week @ 2024-10-08 2249/week @ 2024-10-15 2414/week @ 2024-10-22 1536/week @ 2024-10-29 1630/week @ 2024-11-05

8,018 downloads per month
Used in 5 crates (4 directly)

MIT license

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

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

~25–41MB
~434K SLoC