5 Dec
2013
5 Dec
'13
8:05 p.m.
Hi, I know that if I put : ${ __app__.model.User.get( $__user_id__ ).api_keys[0].key } in my tools xml file I am able to get the current api key. The xml calls my python script with this value, which i then use to execute workflows via the API. However, if this is value empty/blank is there a way I can generate an api key it from within my python script. i.e. is there a method I can call which would generate this for me? Thanks Neil