I am new to API, PHP and any type of coding. Please forgive me if I sound dumb or unclear.
We wanted to generate a text file using a script/Code (php ) to fetch real-time train data from a specific station (Circular quay or Wynyard) for next 5-10 trains using API key. can anyone please help or guide on how to create the script with stop ID to generate a text file output.
I have tried to follow the instruction provided on the NSW portal but unable to code with stop ID or generate a text file output. we do have NEC live Parser which will Parse the PHP and will keep refreshing the text file each 600 Mili second.