Train Movements Feeds_All_TOCS printing

59 views
Skip to first unread message

Alin Perzov

unread,
Oct 17, 2021, 5:21:10 AM10/17/21
to A gathering place for the Open Rail Data community
Hello everyone ,
I'm new to the whole subject of data engineering,

Can anyone please share a PYTHON script to print
the Train Movements Feeds_All_TOCS  data
I just want to see that I can get access to the information, because im strugelling with that

Really appreciate,
Aline

Peter Hicks

unread,
Oct 17, 2021, 5:24:46 AM10/17/21
to A gathering place for the Open Rail Data community
Hi Aline

Have you looked at https://wiki.openraildata.com/index.php?title=Python_Examples?  There's a Python script in GitHub which show you how to subscribe to a topic and print the messages from it.

It shouldn't be too difficult to modify this to use a different hostname and topic for the ALL_TOCS train movement feed.

Best wishes,

Peter Hicks
Director
OpenTrainTimes Ltd.


--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openraildata-t...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openraildata-talk/c9b67f13-ad79-4f57-b944-f6e19e973d36n%40googlegroups.com.


OpenTrainTimes Ltd. registered in England and Wales, company no. 09504022.
Registered office: Suite 1-3, Hop Exchange, 24 Southwark Street, London SE1 1TY
Reply all
Reply to author
Forward
0 new messages