Crates.io | usgs-espa-client |
lib.rs | usgs-espa-client |
version | 0.5.0 |
source | src |
created_at | 2020-10-22 07:38:45.506671 |
updated_at | 2020-10-22 07:38:45.506671 |
description | API client for USGS ESPA API |
homepage | |
repository | https://gitlab.com/stcorp/nmbu/usgs-espa-client |
max_upload_size | |
id | 304183 |
size | 44,569 |
An API for using the USGS ESPA data ordering and download interface.
use usgs_espa_client::{Client, Result};
use usgs_espa_client::types::{Credentials};
#[tokio::main]
async fn main() -> Result<()> {
let credentials = Credentials::from_env()?;
let client = Client::new(credentials)?;
let orders = client.list_orders().await?;
Ok(())
}
Made by: S&T Norway