11,677
edits
Changes
Updating to match new version of source page
=== get_token_by_password ===
'''TVCli get generate ans store/save new tokenon local repository'''
Use '''get_token_by_password''' command to request the generation of a new '''[[Manage_Access#Tokens|Access access TOKEN]]'''.
You can see a [[Automate_Update_data#Updating_your_data_automatically|tutorial]] to help in this process, and we have a [[TVCli_Commands#Token_creation_command|graphic wizard]] interface to help you on building a complete command
'''tvcli -cmd get_token_by_password -user <your TaticView user> -password <your TaticView password> [-token_name "<token name>"]'''
-cmd - get_token_by_password - The command responsible for requesting and storing the Access TOKEN on the TVCli settings.
-user - Your TaticView user (access e-mail).
-password - Your TaticView access password.
Example:
'''tvcli -cmd get_token_by_password -user myemail@email.com -password 123466 -token_name "TVCli Server 1" '''
=== store_token ===
'''TVCli store/save token on local repository'''
Use '''store_token''' command to store a previously generated '''[[Manage_Access#Tokens|access TOKEN]]''' in TVCli Token Store.
You can see a [[Automate_Update_data#Updating_your_data_automatically|tutorial]] to help in this process, and we have a [[TVCli_Commands#Token_creation_command|graphic wizard]] interface to help you on building a complete command
Command Syntax:
'''tvcli -cmd store_token -user <your TaticView user> -token <the token generated on TaticView> [-token_name "<token name>"]'''
-cmd - store_token - The command save the informed '''[[Manage_Access#Tokens|access TOKEN]]''' the TVCli Token Store for future use.
-user - Your TaticView user (access e-mail).
-token - the '''[[Manage_Access#Tokens|access TOKEN]]'''.
-token_name (optional) - The name you want to set to your '''[[Manage_Access#Tokens|access TOKEN]]'''. The default name '''TaticView CLI''' will be set if you do not specify a name.
Example:
'''tvcli -cmd store_token -user myemail@email.com -token 9bdr845gh5r4r1vd5d5 -token_name "TVCli Server 1" '''
===version===