Jump to content
Sign in to follow this  
rinzler

Unable to subscribe to NewsHeadlines streaming data

Recommended Posts

Hi,

I am new to Lightstreamer and I have been trying to subscribe to NewsHeadlines Streaming, however, I kept getting subscription error.

Below this my code in Python:

subscription = Subscription(
    mode="MERGE",
    items=[
        "NEWS.HEADLINES.UK"
    ],
    fields=["Story"],
    adapter="NEWSHEADLINES")

Can somebody help me? Thank you!

Share this post


Link to post

Hi Rinzler,

Apologies for the API documentation sending you on a wild goose chase!

The News streaming part of the API is not currently functioning. In order to retrieve news headlines, you will need to periodically poll our service using the HTTP GetNewsHeadlines call instead.

Kind Regards, PM

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×