Skip to main content

Crate orizn

Crate orizn 

Source
Expand description

Official Rust SDK for the Orizn Visa API.

Check visa requirements for 39,585 passport-destination pairs in 15 languages.

§Quick start

use orizn::Orizn;

#[tokio::main]
async fn main() -> Result<(), orizn::Error> {
    let client = Orizn::new();
    let result = client.check("FRA", "JPN").await?;
    println!("{}: {} days", result.requirement, result.visa_free_days.unwrap_or(0));
    Ok(())
}

Structs§

CountryInfo
Orizn
VisaCheckResult
VisaData

Enums§

Error