available_languages2: List Supported Languages of the DeepL API Free

View source: R/available_languages2.R

available_languages2R Documentation

List Supported Languages of the DeepL API Free

Description

available_languages2 returns a list of all languages supported by the DeepL API Free.

Usage

available_languages2(auth_key)

Arguments

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.

Details

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.

References

DeepL API Documentation on Supported Languages

Examples

## Not run: 
available_languages2()

## End(Not run)


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