Skip to content

Commit f0dee5b

Browse files
author
Wasin Waeosri
committed
review code
1 parent c295bc3 commit f0dee5b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

trkd_newsstory.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,10 @@ def RetrieveNewsStory(token, appid):
7878

7979
if __name__ == '__main__':
8080
# Get username, password and applicationid
81-
#username = raw_input('Please input username: ')
81+
username = raw_input('Please input username: ')
8282
# 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'
83+
password = getpass.getpass(prompt='Please input password: ')
84+
appid = raw_input('Please input appid: ')
8885

8986
token = CreateAuthorization(username, password, appid)
9087
print('Token = %s' % (token))

0 commit comments

Comments
 (0)