-
August 2nd, 2022, 05:12 PM
#1
Hi Robert1,
The old web libraries used an undocumented private protocol specific to the javascript languages.
So it is not a good idea to try to reverse engineering that protocol in order to apply it to other languages.
For example the LS_Phase is a very specific element of the javascript protocol used to recognize possible duplicate replies but which do not make sense in other languages.
For your python client you should implement the TLCP protocol version 2.0.0: https://sdk.lightstreamer.com/ls-gen...ifications.pdf
Something like this example do: https://github.com/Lightstreamer/Lig...thon/tree/v1.1
Indeed there is a new ready made python client library but that requires a Lightstreamer server 7.x.
Please also note you should make sure if the server you are targeting is enabled to accept requests for the TLCP protocol.
Regards,
Giuseppe
-
January 26th, 2023, 09:02 AM
#2
Hi Robert1,
I also started looking in this problem since I want to follow the stock prices with a simple python script. Did you have any success yet? Is there anything on Github that you could share or I could help contribute to?
Thanks,
FHantke
-
January 26th, 2023, 01:06 PM
#3
Hello,
We have recently released a fully-featured Python Client for Lightstreamer on Pypi.
As a simple example, you can look at this demo.
Similar Threads
-
By carenot in forum General
Replies: 1
Last Post: June 16th, 2016, 09:30 AM
-
By gengliangyu2008 in forum Adapter SDKs
Replies: 5
Last Post: November 26th, 2010, 09:00 AM
-
By lwyic in forum General
Replies: 1
Last Post: July 28th, 2010, 10:15 AM
-
By Pradeep Chahal in forum Adapter SDKs
Replies: 1
Last Post: March 11th, 2010, 03:53 PM
-
By rsouissi in forum Client SDKs
Replies: 1
Last Post: August 27th, 2007, 11:24 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 11:54 PM.
Bookmarks