

Next, after the application received the Access Token (and authorization token) from RDP Auth Service, all subsequent REST API calls will use this token to get the data. The client_id parameter can be passed in the request body or as an “Authorization” request header that is encoded as base64. This unique identifier is defined for the user or application and is deemed confidential (not shared between users). Client ID: This is also known as AppKey, and it is generated using an App key Generator.
#Node fetch password#
Password: Password associated with the username.The API requires the following access credential information: The first step of an application workflow is to get a token from RDP Auth Service, which will allow access to the protected resource, i.e. Refinitiv Data Platform entitlement check is based on OAuth 2.0 specification. The Type Aliases file rdp_types.ts: This file contains all Type Aliases for the RDP Auth, News, and Discovery Symbology services JSON messages.The main file rdp_nodefetch.ts: The file contains the application main and connection logic.The example application source codes are separated into 2 TypeScript files: RDP APIs: Authorization - All about tokens page.RDP APIs: Introduction to the Request-Response API page.This example project is focusing on the Request-Response: RESTful web service delivery method only.įor more detail regarding the Refinitiv Data Platform, please see the following APIs resources: Streaming: deliver real-time delivery of messages.Bulks: deliver substantial payloads, like the end-of-day pricing data for the whole venue.Alert: delivery is a mechanism to receive asynchronous updates (alerts) to a subscription.Request - Response: RESTful web service (HTTP GET, POST, PUT or DELETE).The RDP APIs delivery mechanisms are the following:

RDP APIs give developers seamless and holistic access to all of the Refinitiv content such as Historical Pricing, Environmental Social and Governance (ESG), News, Research, etc, and commingled with their content, enriching, integrating, and distributing the data through a single interface, delivered wherever they need it. The RDP APIs provide various Refinitiv data and content for developers via easy-to-use Web-based API. Moving on to our example HTTP REST APIs, the Refinitiv Data Platform (RDP) APIs. What are Refinitiv Data Platform (RDP) APIs? This example project is focusing on Node version 18.0.0. Node versions 17.5.0–17.9.X: $> node -experimental-fetch app.js
#Node fetch code#
To run this built-in API, you can run the native Fetch code as the following examples:
