ms_get_tts_token | R Documentation |
Get Microsoft Text To Speech (TTS) or Cognitive Services Token from API Key
ms_get_tts_token(api_key = NULL, region = ms_regions()) ms_auth_url(region = ms_regions()) ms_expired_token(token = NULL)
api_key |
Microsoft Cognitive Services API key |
region |
Subscription region for your key. See https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/overview#reference-docs |
token |
An authentication of class |
A list of the request, and token
if (ms_valid_tts_key()) { token = ms_get_tts_token() }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.