Get all current available languages on the languagelayer API.

get_supported_lang(api_key = NULL)

Arguments

api_key

Your API key.

Value

Returns a data.frame with language_code and language_name.

Details

Returns a data.frame with the available languages.

Note

Before running a function of this package for the first time, you need to set your API key using the setApiKey function.

Examples

get_supported_lang(api_key = "yourapikey")
#> Warning: API error, code: 101 invalid_access_key You have not supplied a valid API Access Key. [Technical Support: support@apilayer.com]
#> [1] language_code language_name #> <0 rows> (or 0-length row.names)