|
14 | 14 | "This is an example project that shows how to implement RKD HTTP JSON client with Python programming lanugage in Jupyter Notebook.\n", |
15 | 15 | "\n", |
16 | 16 | "### RKD JSON application implementation process\n", |
17 | | - "The JSON application requires the following steps to consume data from TRKD API services\n", |
| 17 | + "The JSON application requires the following steps to consume data from RKD API services\n", |
18 | 18 | "1. Authentication with RKD Authentication service to get an authen token\n", |
19 | | - "2. Send a request message with the required input information and authen token to the interested TRKD service" |
| 19 | + "2. Send a request message with the required input information and authen token to the interested RKD service" |
20 | 20 | ] |
21 | 21 | }, |
22 | 22 | { |
|
74 | 74 | "metadata": {}, |
75 | 75 | "outputs": [], |
76 | 76 | "source": [ |
77 | | - "# Input your TRKD credentials here\n", |
| 77 | + "# Input your RKD credentials here\n", |
78 | 78 | "\n", |
79 | | - "username = \"\"\n", |
80 | | - "password = \"\"\n", |
81 | | - "appid = \"\"" |
| 79 | + "username = ''\n", |
| 80 | + "password = ''\n", |
| 81 | + "appid = ''" |
82 | 82 | ] |
83 | 83 | }, |
84 | 84 | { |
|
101 | 101 | "##### RKD Service Token URL and Header\n", |
102 | 102 | "\n", |
103 | 103 | "The URL enponint for the RKD Service Token is following:\n", |
104 | | - "[https://api.trkd.thomsonreuters.com/api/TokenManagement/TokenManagement.svc/REST/Anonymous/TokenManagement_1/CreateServiceToken_1](https://api.trkd.thomsonreuters.com/api/TokenManagement/TokenManagement.svc/REST/Anonymous/TokenManagement_1/CreateServiceToken_1)\n", |
| 104 | + "[https://api.rkd.refinitiv.com/api/TokenManagement/TokenManagement.svc/REST/Anonymous/TokenManagement_1/CreateServiceToken_1](https://api.rkd.refinitiv.com/api/TokenManagement/TokenManagement.svc/REST/Anonymous/TokenManagement_1/CreateServiceToken_1)\n", |
105 | 105 | "\n", |
106 | 106 | "Header: \n", |
107 | 107 | "- Content-type = application/json;charset=utf-8\n", |
|
145 | 145 | "metadata": {}, |
146 | 146 | "outputs": [], |
147 | 147 | "source": [ |
148 | | - "# TRKD Authentication Post Request message\n", |
| 148 | + "# RKD Authentication Post Request message\n", |
149 | 149 | "\n", |
150 | 150 | "authenMsg = {'CreateServiceToken_Request_1': {'ApplicationID': appid, 'Username': username, 'Password': password}}" |
151 | 151 | ] |
152 | 152 | }, |
153 | 153 | { |
154 | 154 | "cell_type": "code", |
155 | | - "execution_count": null, |
| 155 | + "execution_count": 1, |
156 | 156 | "metadata": {}, |
157 | 157 | "outputs": [], |
158 | 158 | "source": [ |
159 | | - "# TRKD Authentication Service URL\n", |
| 159 | + "# RKD Authentication Service URL\n", |
160 | 160 | "\n", |
161 | 161 | "authenURL = (\n", |
162 | | - " 'https://api.trkd.thomsonreuters.com/api/'\n", |
| 162 | + " 'https://api.rkd.refinitiv.com/api/'\n", |
163 | 163 | " 'TokenManagement/TokenManagement.svc/REST/'\n", |
164 | 164 | " 'Anonymous/TokenManagement_1/CreateServiceToken_1'\n", |
165 | 165 | ")" |
|
171 | 171 | "metadata": {}, |
172 | 172 | "outputs": [], |
173 | 173 | "source": [ |
174 | | - "# TRKD Authentication Request headers\n", |
| 174 | + "# RKD Authentication Request headers\n", |
175 | 175 | "\n", |
176 | 176 | "authen_headers = {'content-type': 'application/json;charset=utf-8'}" |
177 | 177 | ] |
|
182 | 182 | "metadata": {}, |
183 | 183 | "outputs": [], |
184 | 184 | "source": [ |
185 | | - "print('############### Sending Authentication request message to TRKD ###############')" |
| 185 | + "print('############### Sending Authentication request message to RKD ###############')" |
186 | 186 | ] |
187 | 187 | }, |
188 | 188 | { |
|
241 | 241 | "For further details, please check out the following resources:\n", |
242 | 242 | "* [Refinitiv Knowledge Direct API page](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd) on the [Refinitiv Developer Community](https://developers.refinitiv.com) web site.\n", |
243 | 243 | "* [Refinitiv Knowledge Direct API Catalog](https://www.trkd.thomsonreuters.com/SupportSite/RequestBuilder/requestbuilder.aspx) web site.\n", |
244 | | - "* TRKD Article: [How to implement TRKD JSON application with Python chapter 1: the basic](https://developers.refinitiv.com/article/how-implement-trkd-json-application-python-chapter-1-basic)\n", |
245 | | - "* [TRKD Tutorial](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd/thomson-reuters-knowledge-direct-api-trkd-api/learning).\n", |
| 244 | + "* RKD Article: [How to implement RKD JSON application with Python chapter 1: the basic](https://developers.refinitiv.com/article/how-implement-trkd-json-application-python-chapter-1-basic)\n", |
| 245 | + "* [RKD Tutorial](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd/thomson-reuters-knowledge-direct-api-trkd-api/learning).\n", |
246 | 246 | "\n", |
247 | 247 | "For any question related to this tutorial or RKD API, please use the Developer Community [Q&A Forum](https://community.developers.refinitiv.com/spaces/51/view.html)." |
248 | 248 | ] |
|
0 commit comments