Difference between revisions of "Python Examples"
Jump to navigation
Jump to search
(Created page with "This uses Python's stomp.py library to connect: pip install stomp.py {code} #!/usr/bin/env python import logging from time import sleep import stomp NETWORK_RAIL_AUTH = ('...") |
PeterHicks (talk | contribs) m (Rewrite and point to https://github.com/openraildata/stomp-client-python) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | Python is a good choice for connecting as it's lightweight, available on many platforms and very well-used. | |
− | + | Sample code for Python is available at [https://github.com/openraildata/stomp-client-python on the openraildata organization on GitHub]. | |
− | |||
− | + | [[Category:Network Rail Data Feeds]] | |
− | + | [[Category:Example Code]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 13:37, 28 September 2020
Python is a good choice for connecting as it's lightweight, available on many platforms and very well-used.
Sample code for Python is available at on the openraildata organization on GitHub.