105 releases

0.3.28 Dec 4, 2024
0.3.26 Nov 20, 2024
0.3.9 Jul 28, 2024
0.2.63 Mar 26, 2024
0.1.10 Jul 26, 2022

#86 in Web programming

Download history 1678/week @ 2024-08-25 2108/week @ 2024-09-01 1410/week @ 2024-09-08 1599/week @ 2024-09-15 2683/week @ 2024-09-22 2551/week @ 2024-09-29 1175/week @ 2024-10-06 2094/week @ 2024-10-13 2214/week @ 2024-10-20 1783/week @ 2024-10-27 1853/week @ 2024-11-03 1263/week @ 2024-11-10 2350/week @ 2024-11-17 1496/week @ 2024-11-24 3809/week @ 2024-12-01 3676/week @ 2024-12-08

11,388 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.28"

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