{"repo":"andrewl/uk-rail-schedule-api","free":true,"listed":false,"github":"https://github.com/andrewl/uk-rail-schedule-api","clone":"git clone https://github.com/andrewl/uk-rail-schedule-api.git","description":"An API that provides access to detailed UK train schedules","language":"Go","stars":16,"topics":["api","golang","opendata","railway","trains","transport","chi","rest-api","sqlite","stomp"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"UK Rail Schedule API The UK Rail Schedule API is a service that provides access to detailed UK train schedules from Network Rail's Integrated Train Planning System (ITPS). The service - Loads data from a SCHEDULE feed file in json format - Loads Very Short Term Planning (VSTP) updates from Network Rail's STOMP messaging service - Responds to http requests from clients for information on train schedules If you want - to be able find information on train schedules (both permanent and VSTP) based on headcode (aka signalling id), train uid and filtered by date, location or operating company, or - a database of train schedules Then this service could be for you. Setup What you will need - Credentials to access the Network Rail data feeds. If you don't already have one, you can apply for one here: https://publicdatafeeds.networkrail.co.uk/ntrod/welcome - The latest release of uk-rail-schedule-api from the releases page Configuring - Copy config.yaml.example to config.yaml and update with your Network Rail data feed username and password - All of the other options have usable defaults, you can override them if necessary in your config.yaml Running You'll need to download a copy of the Network Rail Schedule Feed and save it as schedule.json. The file is available, gzipped at the following url (you'll need to be logged in with your network rail account to access it): https://publicdatafeeds.networkrail.co.uk/ntrod/CifFileAuthenticate?type=CIF ALL FULL DAILY&day=toc-full Once you've do","default_branch":null,"files":null,"tree":[],"storefront":"/r/andrewl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/andrewl/uk-rail-schedule-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}