Crate domo_pitchfork

Source
Expand description

§Domo Pitchfork Domo SDK

A Library wrapping the Domo API providing convenient consumption of Domo Endpoints from Rust Programs. Why is it called Domo Pitchfork? Well for awhile Domo’s API documentation was pretty error ridden leading to joking around the office that anytime I was headed to use the Domo API it was time to “bring out the pitchforks”. The other reason is it ends up being the pitchfork to move heaps of data in and out of Domo.

§Example: Getting a list of Datasets

let auth = DomoClientAppCredentials::default()
    .client_id("domo client ID here")
    .client_secret("domo secret here")
    .build();
let token = auth.get_access_token();
let domo = DomoPitchfork::with_token(&token);
let dataset_list = domo.datasets().list(5,0)?;
dataset_list.iter().map(|ds| println!("Dataset Name: {}", ds.name.as_ref().unwrap()));

§DomoPitchfork

The main module to be used and consumed by Rust Programs. The DomoPitchfork struct has all the methods implemented to authenticate, interact, and consume the Domo API

Modules§

  • Authentication functionality for interacting with Domo API. Authorization/Authentication for Domo API.
  • Domo API Types All Domo API objects
  • Domo API errors
  • Main Domo API Client.
  • Generic Utility Functions.

Structs§

  • DomoPitchfork is the top-level object to use to interact with the various Domo APIs
  • used to represent all domo_pitchfork errors

Enums§