Description Usage Arguments Details Value Author(s) References See Also Examples
R wrapper for USGS/EROS Inventory Service POST API.
1 | espa_inventory_post_api(request_code, json_request_content, verbose = F)
|
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. |
verbose |
Logical. Verbose execution? Default=F. |
A function to convert requests to the USGS/EROS Inventory Service Request URL format (POST). In general, you shouldn't need to call this directly unless you want finer command-line control over requests.
List generated from the request.
Jonathan A. Greenberg (espa-tools@estarcion.net) (wrapper) and USGS ESPA Developers (API and documentation)
https://earthexplorer.usgs.gov/inventory/documentation/json-api
espa_inventory_login,espa_inventory_get_api
1 2 3 4 5 6 7 | ## Not run:
# Run the API retrieval command:
login_parameters <- list(username="myusername",password="mypassword")
espa_inventory_post_api(request_code="login",
json_request_content=login_parameters,verbose=verbose)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.