Crate tripactions[][src]

Expand description

A rust library for interacting with the TripActions v3 API.

For more information, the TripActions v1 API is documented at https://app.tripactions.com/api/public/documentation/swagger-ui/index.html?configUrl=/api/public/documentation/api-docs/swagger-config

Example:

use tripactions::TripActions;

async fn get_bookings() {
    // Initialize the TripActions client.
    let tripactions = TripActions::new_from_env("");

    let bookings = tripactions.get_bookings().await.unwrap();

    println!("bookings: {:?}", bookings);
}

Modules

Structs

Error type returned by our library.

Entrypoint for interacting with the TripActions API.