Expand description
§APIFreaks APIs SDK
The official Rust SDK for the APIFreaks APIs.
§Getting Started
use apifreaks::prelude::*;
#[tokio::main]
async fn main() {
let config = ClientConfig {
..Default::default()
};
let client = ApiFreaks::new(config).expect("Failed to build client");
client
.geolocation_lookup(
&GeolocationLookupQueryRequest {
api_key: "apiKey".to_string(),
format: None,
ip: None,
lang: None,
fields: None,
excludes: None,
include: None,
},
None,
)
.await;
}§Modules
Re-exports§
pub use error::ApiError;pub use error::BuildError;pub use api::*;pub use client::*;pub use config::*;pub use core::*;pub use environment::*;