espa_inventory_logout: espa_inventory_logout

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

R wrapper for USGS/EROS Inventory Service Logout API.

Usage

1
espa_inventory_logout(apiKey, verbose = F)

Arguments

apiKey

Character. The apiKey returned by espa_inventory_login.

verbose

Logical. Verbose execution? Default=F.

Details

This method is used to remove the users API key from being used in the future.

Value

Logical: did the logout conclude successfully?

Author(s)

Jonathan A. Greenberg (espa-tools@estarcion.net) (wrapper) and USGS ESPA Developers (API and documentation)

References

https://earthexplorer.usgs.gov/inventory/documentation/json-api#login

See Also

espa_inventory_logout

Examples

1
2
3
4
5
6
## Not run:  
# Get API KEY (required EROS username/password): 
apiKey=espa_inventory_login("myusername","mypassword")
espa_inventory_logout(apiKey=apiKey)

## End(Not run)

espa.tools documentation built on May 2, 2019, 5:54 p.m.