espa_inventory_get_api: espa_inventory_get_api

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

Description

R wrapper for USGS/EROS Inventory Service GET API.

Usage

1
2
espa_inventory_get_api(request_code, json_request_content, auto_unbox = T,
  verbose = F)

Arguments

request_code

Character. One of the requests listed at https://earthexplorer.usgs.gov/inventory/documentation/json-api

json_request_content

List. Parameters to pass to the request system.

auto_unbox

Logical auto_unbox the json_request_content? Default = T.

verbose

Logical. Verbose execution? Default=F.

Details

A function to convert requests to the USGS/EROS Inventory Service Request URL format (GET). In general, you shouldn't need to call this directly unless you want finer command-line control over requests.

Value

List generated from the request.

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

See Also

espa_inventory_post_api

Examples

1
2
3
4
5
## Not run:  
# Run the simple API status command:
espa_inventory_get_api(request_code="status",json_request_content="",verbose=F)

## End(Not run)

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