Description Usage Arguments Details Value Examples
For a successful order placed, get the status of each of the product ID requested in that order id. Once the order is complete, also get the corresponding URLs for the product IDs.
1 2 3 |
order_id |
vector of order ids for which status and download url is needed |
min_date |
if order_id is NULL, define the starting date from which order ids need to be fetched |
max_date |
if order_id is NULL, define the ending date till which order ids need to be fetched |
getSize |
logical. if the status is completed for the entire order, then should the file size be calculated. (Output size in Bytes) |
host |
the api call host. Default set to espa v1 web api |
username |
default NULL, which fetches the username from the global environment. If defined otherwise, will run the api with the provided details |
password |
default NULL, which fetches the password from the global environment. If defined otherwise, will run the api with the provided details |
if order_id, min_date, max_date are NULL, then will run on all the order ids available till date
a list
order_details |
a dataframe with order status and download links |
wrong_order_id |
vector of order_ids for which the API failed |
1 2 3 4 5 6 7 8 9 | ## Not run:
# input the credentials, if not defined earlier
espa_creds("your_espaname", "secret_password")
# getting all the orders' status
result = espa_status()
# getting the dataframe from the list
result = result$order_details
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.