https://github.com/openraildata/kafka-client-rdm-darwin
Python client for Darwin via the Rail Data Marketplace
https://github.com/openraildata/kafka-client-rdm-darwin
darwin python rdm
Last synced: 4 months ago
JSON representation
Python client for Darwin via the Rail Data Marketplace
- Host: GitHub
- URL: https://github.com/openraildata/kafka-client-rdm-darwin
- Owner: openraildata
- Created: 2024-06-11T15:27:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-14T17:39:46.000Z (6 months ago)
- Last Synced: 2025-12-17T03:53:42.824Z (6 months ago)
- Topics: darwin, python, rdm
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
RDM Darwin Client
=================
This repository contains a Python 3 example of how to use the Darwin v17 (Staging) messages from Darwin via the Rail Data Marketplace at the following URL:
* https://raildata.org.uk/dataProduct/P-e8ab4178-93b7-4219-81a9-323eab3b12ba/overview
This code has been tested on Python 3.9.6, but should run on other versions of Python 3.
Configuration
-------------
Once subscribed to the Darwin Real Time Train Information product on the Rail Data Marketplace, copy the 'Consumer key' and 'Consumer secret' values in to `CONSUMER_KEY` and `CONSUMER_SECRET` in `consumer.py`.
Running the code
----------------
The `consumer.py` script will subscribe to the appropriate topic and print messages.
Support
-------
For support and questions with using Darwin, please use the forum at the
following URL:
* https://groups.google.com/group/openraildata-talk