R/available_languages2.R
available_languages2.Rd
available_languages2
returns a list of all languages supported by the DeepL API Free.
available_languages2(auth_key)
A string representing the authentication key for the DeepL API Free.
If not provided, the function will attempt to retrieve the key from the environment
variable DEEPL_API_KEY
. You can set this variable using
Sys.setenv(DEEPL_API_KEY = "your_key")
or define it in your .Renviron
file for persistent use.
To use this function, you must obtain an authentication key by registering for a DeepL API Free account at DeepL API Free. The function makes an API call to retrieve the list of supported languages and returns them in a structured format.
if (FALSE) { # \dontrun{
available_languages2()
} # }