Skip to content

Commit 37549a5

Browse files
author
Wasin Waeosri
committed
#Introduction
This is an example project that shows how to implement TRKD REST Client with python - trkd_authen.py: An example application that shows how to authenticate with TRKD service - trkd_quote.py: An example application that shows how to subscribe (all fields and specific fields) the Quote data from TRKD service #prerequisite The following softwares are required to use this script - Python 2.7.10 - The [requests](http://docs.python-requests.org/en/master/) library The script does not support Python 3! #how to run the script Run the script via the command line (or shell) ``` $>python <application>.py ``` #Optional - How to install requests The best way is to get the pip package management tool 1. export <Python_folder>\Scripts to your OS PATH environment 2. call pip command to install lxml ``` $>pip install requests ``` 3. If you are behind proxy, set the proxy first ``` export https_proxy="http://<proxy.server>:<port>" $>pip install requests ``` #Releae Note - Version 1: 6 Sep 2016 - trkd_authen.py - trkd_quote.py
1 parent c8062cc commit 37549a5

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

trkd_quote.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,7 @@
66
in a particular environment; it is offered solely as sample code for guidance.
77
Please see the Thomson Reuters Knowledge Direct product page at http://customers.thomsonreuters.com
88
for additional information regarding the TRKD API.'''
9-
'''
10-
The TRKD API sample code is provided for informational purposes only
11-
and without knowledge or assumptions of the end users development environment.
12-
We offer this code to provide developers practical and useful guidance while developing their own code.
13-
However, we do not offer support and troubleshooting of issues that are related to the use of this code
14-
in a particular environment; it is offered solely as sample code for guidance.
15-
Please see the Thomson Reuters Knowledge Direct product page at http://customers.thomsonreuters.com
16-
for additional information regarding the TRKD API.'''
9+
1710

1811
import os
1912
import sys

0 commit comments

Comments
 (0)