kittycad

Crates.iokittycad
lib.rskittycad
version
sourcesrc
created_at2022-06-16 18:46:19.844073
updated_at2024-12-04 16:19:26.315251
descriptionA fully generated & opinionated API client for the KittyCAD API.
homepage
repositoryhttps://github.com/KittyCAD/kittycad.rs/tree/main/kittycad
max_upload_size
id607618
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
crate-owners (github:kittycad:crate-owners)

documentation

https://docs.rs/kittycad

README

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();
Commit count: 0

cargo fmt