Description Usage Arguments Value Examples
Saves credentials tokens the users' environment. It has the advantage that it is not necessary to explicitly publish the credentials in the users code. Just do it one time and you are set. To update any of the parameters just save again and it will overwrite the older credential.
1 | save_dadata_tokens(api_token = NULL, secret_token = NULL)
|
api_token |
Token required for REST API authorization. You can get the token on your personal profile page, after logging in at https://dadata.ru/profile/#info. It will be saved in the environment as API_TOKEN. |
secret_token |
Token required for paid plans. It will be saved in the environment as SECRET_TOKEN. |
Saves the tokens in the users environment - it does not return any object.
1 2 3 4 5 | ## Not run:
save_dadata_tokens(api_token='__INSERT_YOUR_API_TOKEN_HERE__',
secret_token='__INSERT_YOUR_SECRET_TOKEN_HERE__')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.