dai_notify | R Documentation |
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.
dai_notify(response, loc = "eu", token = dai_token(), sound = 2)
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). |
no return value, called for side effects
## Not run:
response <- dai_async(myfiles)
dai_notify(response)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.