Skip to content

A direct access WebSocket API that enables easy integration into a multitude of client technology environments such as scripting and web.

License

Notifications You must be signed in to change notification settings

secretcyril/websocket-api

 
 

Repository files navigation

WebSocket API Examples

This set of example programs demonstrates how to connect to TREP or to Refinitiv Data Platform using Websocket API. These examples are built using widely available Websocket frameworks and follow a protocol specification for message constructs. This API is governed by the same Apache 2 open source license as defined in the LICENSE.md file.

The examples demonstrate the following usage:

  • Connecting, logging in, and requesting a single item
  • Requesting multiple items with a view in one message via a Batch Request
  • Posting content to an item
  • Logging in via Authentication
  • Monitoring connection health via Ping messages

The examples are found under the Applications/Examples folder. Examples are provided in the following languages:

  • C#
  • Java
  • Python
  • Perl
  • Node.js
  • Go
  • R
  • Ruby

More details for each example are included in a README.md file in its respective folder.

RDP (formerly EDP) Examples

Examples in Python, CSharp and Java that demonstrate consuming content from the Refinitiv Data Platform Real-Time Service (formerly Elektron Data Plaform) are in Applications/Examples/EDP in the respective language folders. More details are included in a README.md file in each example folder.

Contributing

In the event you would like to contribute to this repository, it is required that you read and sign the following:

Please email a signed and scanned copy to sdkagreement@refinitiv.com. If you require that a signed agreement has to be physically mailed to us, please email the request for a mailing address and we will get back to you on where you can send the signed documents.

Documentation for the TREP WebSocket API and a Question & Answer forum are available at the WebSocket API Section of the Refinitiv Developer Community.

Support SLA

Issues raised via GitHub will be addressed in a best-effort manner. For broad questions regarding Websocket API, please refer to documentation and Q&A forum on Developer Community which is supported by an existing active community of API users.

About

A direct access WebSocket API that enables easy integration into a multitude of client technology environments such as scripting and web.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 31.0%
  • Java 24.9%
  • Python 15.0%
  • Perl 6.3%
  • R 6.1%
  • Go 6.0%
  • Other 10.7%