Get all current available languages on the languagelayer API.
get_supported_lang(api_key = NULL)
api_key | Your API key. |
---|
Returns a data.frame with language_code and language_name.
Returns a data.frame with the available languages.
Before running a function of this package for the first time, you need to set your API key using the setApiKey
function.
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)