gtrend_rs/lib.rs
1//! # gtrend-rs
2//! gtrend-rs is a Rust crate providing a convenient way to access Google Trends data programmatically.
3//!
4//! It aims to offer a simple and idiomatic API to fetch search trends, including interest over time, regional data, and related topics.
5
6/// [`enums`] module contains all the enums used in the crate
7pub mod enums;
8
9/// [`error`] module contains the error types used in the crate
10mod error;
11
12/// [`trends_client`] module contains the main client struct
13mod trends_client;
14
15pub use error::Error;
16pub use trends_client::{
17 ComparaisonElem, DEFAULT_ADDRESS, ExploreClient, GeoMap, RelatedQueries, RelatedTopics,
18 Request, Timeseries, TrendsClient, WidgetCategory, WidgetKeyword,
19};