yandex_webmaster_api/lib.rs
1//! # Yandex Webmaster API Client
2//!
3//! This crate provides a Rust client for the Yandex Webmaster API.
4//!
5//! ## Example
6//!
7//! ```no_run
8//! use yandex_webmaster_api::YandexWebmasterClient;
9//!
10//! #[tokio::main]
11//! async fn main() -> anyhow::Result<()> {
12//! let client = YandexWebmasterClient::new("your-oauth-token".to_string()).await?;
13//! println!("User ID: {}", client.user_id());
14//! Ok(())
15//! }
16//! ```
17
18mod client;
19mod dto;
20mod error;
21mod middleware;
22
23pub use client::YandexWebmasterClient;
24pub use dto::*;
25pub use error::{Result, YandexWebmasterError};