pixabay_sdk/lib.rs
1mod client;
2mod error;
3mod models;
4
5pub use client::Pixabay;
6pub use client::SearchImageParams;
7pub use client::SearchVideoParams;
8pub use error::{PixabayError, Result};
9pub use models::*;
10
11#[cfg(test)]
12mod tests {
13 use super::*;
14
15 #[tokio::test]
16 async fn test_client_creation() {
17 let client = Pixabay::new("test_key".to_string());
18 assert_eq!(client.api_key, "test_key");
19 }
20}