1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//! # polyoxide-gamma
//!
//! Rust client library for Polymarket Gamma (market data) API.
//!
//! ## Features
//!
//! - Market data retrieval with filtering and pagination
//! - Event and series (tournament/season) information
//! - Tags and sports metadata
//! - Comments on markets, events, and series
//! - Type-safe API with idiomatic Rust patterns
//! - Request builder pattern for flexible, composable queries
//!
//! ## Example
//!
//! ```no_run
//! use polyoxide_gamma::Gamma;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Create a new Gamma client
//! let gamma = Gamma::new()?;
//!
//! // List active markets with fluent builder pattern
//! let markets = gamma.markets()
//! .list()
//! .open(true)
//! .limit(10)
//! .send()
//! .await?;
//!
//! for market in markets {
//! println!("Market: {}", market.question);
//! }
//!
//! // Get a specific market
//! let market = gamma.markets()
//! .get("condition-id")
//! .send()
//! .await?;
//!
//! Ok(())
//! }
//! ```
pub use ;
pub use GammaError;