1
0
Fork 0
Some scripts I use or have used in the past.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
224 B

#!/bin/bash
USERNAME='<EMAIL ADRESS>'
PASSWORD='<Your password>'
START='Amsterdam'
EIND='Utrecht'
curl "http://$USERNAME:$PASSWORD@webservices.ns.nl/ns-api-treinplanner?fromStation=$START\&toStation=$EIND\&departure=true"