@noelandrews said in MMM-UKNationalRail - Rail departure info for specific UK Railway stations:
I have to say - changing the " to ’ made it work for me.
{
module: 'MMM-UKNationalRail',
position: 'bottom_left',
header: 'Departures', //Optional - delete this line to turn OFF the header completely
config: {
stationCode: 'LNB', // CRS code for station
app_id: '49XXX014', // TransportAPI App ID
app_key: '1a3d4XXXXXXXXXXXceac3d9f14be', // TransportAPI App Key
maxResults: 5, //Optional - Maximum results to display.
showOrigin: false //Optional - Show the origin of the train in the table
}
},
Also using the API_ID, API_Key and Station code in the actual TransportAPI also worked. Could it be the rest of JSON config that has issues? Have you tried pasting the whole file into something like jsonlint.com to validate it’s right.
I’d STRONGLY advise you remove your API keys from the JSON. Hate for other people to mis-use your account BTW