dai_notify {daiR} | R Documentation |
Notify on job completion
Description
Queries to the Google Cloud Services (GCS) Document AI API about the status of a previously submitted asynchronous job and emits a sound notification when the job is complete.
Usage
dai_notify(response, loc = "eu", token = dai_token(), sound = 2)
Arguments
response |
a HTTP response object generated by
|
loc |
A two-letter region code; "eu" or "us" |
token |
An authentication token generated by |
sound |
A number from 1 to 10 for the Beepr sound selection (https://www.r-project.org/nosvn/pandoc/beepr.html). |
Value
no return value, called for side effects
Examples
## Not run:
response <- dai_async(myfiles)
dai_notify(response)
## End(Not run)
[Package daiR version 1.0.0 Index]