available_languages: List Supported Languages of the DeepL API Pro

View source: R/available_languages.R

available_languagesR Documentation

List Supported Languages of the DeepL API Pro

Description

available_languages returns a list of all languages supported by the DeepL API Pro.

Usage

available_languages(auth_key)

Arguments

auth_key

A string representing the authentication key for the DeepL API Pro. 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.

Details

To use this function, you must obtain an authentication key by registering for a DeepL API Pro account at DeepL API Pro. The function makes an API call to retrieve the list of supported languages and returns them in a structured format.

References

DeepL API Documentation on Supported Languages

Examples

## Not run: 
available_languages()

## End(Not run)


deeplr documentation built on June 8, 2025, 12:47 p.m.