usgs-espa-client

Crates.iousgs-espa-client
lib.rsusgs-espa-client
version0.5.0
sourcesrc
created_at2020-10-22 07:38:45.506671
updated_at2020-10-22 07:38:45.506671
descriptionAPI client for USGS ESPA API
homepage
repositoryhttps://gitlab.com/stcorp/nmbu/usgs-espa-client
max_upload_size
id304183
size44,569
S&T Rust (github:stcorp-no:s-t-rust)

documentation

README

Usgs ESPA API client

An API for using the USGS ESPA data ordering and download interface.

Basic Usage

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

Commit count: 16

cargo fmt