highlevel-api 0.2.0

Unofficial Rust SDK for the GoHighLevel (HighLevel) API
Documentation
//! Unofficial Rust SDK for the GoHighLevel (HighLevel) API.
//!
//! # Quick start
//!
//! ```no_run
//! use highlevel_api::{HighLevel, HighLevelConfig};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//!     let client = HighLevel::new(
//!         HighLevelConfig::new("YOUR_CLIENT_ID", "YOUR_CLIENT_SECRET")
//!             .with_redirect_uri("https://your-app.example.com/oauth/callback"),
//!     );
//!
//!     client.set_access_token("YOUR_ACCESS_TOKEN").await;
//!
//!     let contacts = client.contacts().search(
//!         &highlevel_api::apis::contacts::SearchContactsParams {
//!             location_id: "YOUR_LOCATION_ID".into(),
//!             query: Some("john".into()),
//!             limit: Some(10),
//!             ..Default::default()
//!         },
//!     ).await?;
//!
//!     println!("Found {} contacts", contacts.contacts.len());
//!     Ok(())
//! }
//! ```

pub mod apis;
pub mod auth;
pub mod client;
pub mod config;
pub mod error;
pub mod http;
pub mod storage;
pub mod webhook;

pub use client::HighLevel;
pub use config::HighLevelConfig;
pub use error::{Error, Result};