#api-client #user #generated #opinionated #platform #required #rippling

rippling-api

A fully generated & opinionated API client for the Rippling API

8 releases

0.1.7 Oct 1, 2024
0.1.6 Sep 24, 2024
0.1.2 Aug 30, 2024

#453 in Web programming

Download history 40/week @ 2024-08-05 75/week @ 2024-08-12 227/week @ 2024-08-26 4/week @ 2024-09-02 479/week @ 2024-09-16 317/week @ 2024-09-23 298/week @ 2024-09-30 115/week @ 2024-10-07 58/week @ 2024-10-14 69/week @ 2024-10-21 23/week @ 2024-10-28 30/week @ 2024-11-04

181 downloads per month

MIT license

1MB
21K SLoC

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();

lib.rs:

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();

Dependencies

~24–40MB
~404K SLoC