Search the Community
Showing results for tags 'train'.
NS (Nederlandse Spoorwegen) Train schedule for Alfred Alfred workflow for getting NS Train schedule. Getting started Prerequisites Project requires Python 3.8+ to run, which is not included by default with macOS. You can install Python 3 using this guide. ⚠️ Make sure to get API key from https://apiportal.ns.nl/ and set it as workflow environment variable NS_APIKEY during the installation. Downloading & Installing Download NS_Schedule.alfredworkflow file from the latest release at this project's Github Releases page and open it with Alfred. Change the value of NS_APIKEY variable to the value you've received from NS at the Prerequisites step. How to Use Open Alfred and type ns and names of two train stations you want to see schedule for. Workflow will display list of upcoming trains for the route you have specified. Pressing Enter on a displayed item will open it on NS website, so you can get more details. Built With Python 3.8 Feedback & Contributions Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. License This project is licensed under the MIT License - see the LICENSE.md file for details