1 unstable release

0.5.0 Oct 22, 2020

#849 in Science

MIT license

35KB
630 lines

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


lib.rs:

An API client for USGS ESPA API

For implemented API endpoints, see the methods implemented on the Client

Dependencies

~3–8MB
~178K SLoC