load_api_key: Uses console input to save and load .yml file with yandex api...

Usage Arguments Value Examples

Usage

1
load_api_key(directory = "")

Arguments

directory

File directory that contains "yandex_api_key.yml"

Value

Creates global environment variable yandex_api_key in one of two ways. First, given a file directory (default directory created with 'here' package), if yandex_api_key.yml exists, yandex_api_key takes the value of api_key field in the .yml file. Otherwise, console input is saved to yandex_api_key.yml in the given directory and the api_key field from .yml is the yandex_api_key

Examples

1
load_api_key(directory="")

kpolimis/yandextexttranslater documentation built on May 12, 2019, 8:47 a.m.