Open main menu

TaticView β

Changes

TVCli Commands Reference

129 bytes removed, 13:32, 15 April 2023
no edit summary
<!--T:30-->
'''TVCli sending data to a Data SourceDatasource'''
<!--T:31-->
Use '''import_file''' to send data to a Data SourceDatasource.
You can see a [[Automate_Update_data#Updating_your_data_automatically|tutorial]] to help in this process, and we have a [[TVCli_Commands#Data_update_command|graphic wizard]] interface to help you on building a complete command
 
<!--T:32-->
<!--T:25-->
-cmd - import_file - Command that uploads your files and add them to the update queue.
-user - Your TaticView user (access e-mailemail).
-datamart - The identification code of the data file obtained through the properties option on the TaticView main page.
-file - The address of the text (CSV) or spreadsheet (XLSX, XLS, XLSM) data file that will be updated. You can use mapped drives (Ex.: C:\, D:\) or UNC address (Ex.: \\server\folder\file).
<!--T:34-->
'''TVCli get generate and store/save new tokenon local repository'''
<!--T:35-->
Use '''get_token_by_password''' command to request the generation of a new '''[[Manage_Access#Tokens|Access access TOKEN]]'''.
<!--T:36-->
<!--T:38-->
-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-mailemail).
-password - Your TaticView access password.
-token_name (optional) - The name you want to set to your Access TOKEN. The default name '''TaticView CLI''' will be set if you do not specify a name.
<!--T:39-->
Example:
'''tvcli -cmd get_token_by_password -user myemail@email.com -password 123466 -token_name "TVCli Server 1sample token" ''' === store_token === <!--T:49-->
=== store_token ===
<!--T:3450-->'''TVCli store /save token in on local repository'''
<!--T:3551-->Use '''store_token''' command to store a previously generated '''[[Manage_Access#Tokens|Access access TOKEN]]''' in TVCli Token Store.
<!--T:3652-->
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
<!--T:3753-->
Command Syntax:
'''tvcli -cmd get_token_by_password store_token -user <your TaticView user> -password token <your the token generated on TaticView password> '''   <!--T:54-->-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 email). -token_name "<token name>" - the '''[[Manage_Access#Tokens|access TOKEN]]'''.
<!--T:38-->
-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.
-token_name (optional) - The name you want to set to your Access TOKEN. The default name '''TaticView CLI''' will be set if you do not specify a name.
<!--T:3955-->
Example:
'''tvcli -cmd get_token_by_password store_token -user myemail@email.com -password 123466 -token_name "TVCli Server 1" token 9bdr845gh5r4r1vd5d5''' 
===version=== <!--T:40-->