rippling-api

Crates.iorippling-api
lib.rsrippling-api
version0.1.7
sourcesrc
created_at2024-08-11 20:39:15.298788
updated_at2024-10-01 17:15:50.651634
descriptionA fully generated & opinionated API client for the Rippling API.
homepage
repository
max_upload_size
id1333625
size927,353
crate-owners (github:kittycad:crate-owners)

documentation

https://docs.rs/rippling-api

README

rippling-api

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

docs.rs

API Details

Documentation for the Rippling Platform API.

Client Details

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]
rippling-api = "0.1.7"

Basic example

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

use rippling_api::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:

  • RIPPLING_API_TOKEN

And then you can create a client from the environment.

use rippling_api::Client;

let client = Client::new_from_env();
Commit count: 0

cargo fmt