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
//! # polyoxide-data
//!
//! Rust client library for Polymarket Data API.
//!
//! ## Features
//!
//! - User position data retrieval with filtering and pagination
//! - Type-safe API with idiomatic Rust patterns
//! - Request builder pattern for flexible, composable queries
//!
//! ## Example
//!
//! ```no_run
//! use polyoxide_data::DataApi;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Create a new Data API client
//! let data = DataApi::new()?;
//!
//! // Get positions for a user with fluent builder pattern
//! let positions = data.user("0x1234567890123456789012345678901234567890")
//! .list_positions()
//! .limit(10)
//! .send()
//! .await?;
//!
//! for position in positions {
//! println!("Position: {} - size: {}", position.title, position.size);
//! }
//!
//! Ok(())
//! }
//! ```
pub use ;
pub use DataApiError;