Saves the all in one genderize.io, agify.io & nationalize.io API key in the users environment. It has the advantage that it is not necessary to explicitly publish the key in the users code. Just do it one time and you're set. To update the key just save again and it will overwrite the old key. To explicitly print the key, use the get_api_key function. To remove the key use the remove_api_key function.

save_api_key(key)

Arguments

key

API key obtained from the specific website. Visit the one of the following websites to obtain an API key:

Value

Does save the key in the environment.

Warning

Please be careful when dealing with API keys and other secrets & tokens - keep them private and do not publish them.

See also

Examples

if (FALSE) { save_api_key(key="__YOUR_API_KEY__") }