Is it possible to make a widget to show when the train leave the station?
It search the station by location.
I don’t know how to make.
Is it possible to make a widget to show when the train leave the station?
It search the station by location.
I don’t know how to make.
Hi there,
It is possible as long as there is an API provider for train schedules in your area.
You can use that API to retrieve the schedule data.
I hope this would help.
I go search later today. I live in Netherland ans use NS.
Looks like an API is available.
I go search how I can create a widget with this api and kwgt.
Hi there,
Are you familiar with JSON data structure?
If so, and the API supports the JSON response, then you can retrieve the data from the API in the form of JSON data structure. Then, you can parse the retrieved JSON data to get whatever information you need for your widget.
I hope this would help.
I don’t know the JSON structure. Maybe I found anything on internet.