hubspot-rust-sdk 0.4.4

A HubSpot SKD for Rust. This SDK is designed to be a simple and easy to use interface for the HubSpot API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde_json::Value;
use crate::universals::{client::HubSpotClient, requests::HttpMethod, utils::to_array};

impl HubSpotClient {
    pub async fn get_owners(&self) -> Result<Vec<Value>, String> {
        to_array( &self.request(
            &format!("/crm/v3/owners"),
            &HttpMethod::Get,
            None,
        ).await? )
    }
}