We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c295bc3 commit f0dee5bCopy full SHA for f0dee5b
trkd_newsstory.py
@@ -78,13 +78,10 @@ def RetrieveNewsStory(token, appid):
78
79
if __name__ == '__main__':
80
# Get username, password and applicationid
81
- #username = raw_input('Please input username: ')
+ username = raw_input('Please input username: ')
82
# use getpass.getpass to hide user inputted password
83
- #password = getpass.getpass(prompt='Please input password: ')
84
- #appid = raw_input('Please input appid: ')
85
- username = 'trcsmnldauki@thomsonreuters.com'
86
- appid = 'rkdapi'
87
- password = 'Welcome1'
+ password = getpass.getpass(prompt='Please input password: ')
+ appid = raw_input('Please input appid: ')
88
89
token = CreateAuthorization(username, password, appid)
90
print('Token = %s' % (token))
0 commit comments