mscstts (version 0.6.2)

ms_get_tts_token: Get Microsoft Text To Speech (TTS) or Cognitive Services Token from API Key

Description

Get Microsoft Text To Speech (TTS) or Cognitive Services Token from API Key

Usage

ms_get_tts_token(api_key = NULL, region = ms_regions())

ms_auth_url(region = ms_regions())

ms_expired_token(token = NULL)

Arguments

api_key

Microsoft Cognitive Services API key

token

An authentication of class token, likely from ms_get_tts_token

Value

A list of the request, and token

Examples

Run this code
# NOT RUN {
if (ms_valid_tts_key()) {
   token = ms_get_tts_token()
}
# }

Run the code above in your browser using DataLab