Hi, I am trying to figure out how to scrape bus times for my local public transport provider.
Someone has created an API transperthapi - npm and website Bus Stop Lookup | TransPerth API to grab the data.
I thought about leveraging the api, but to be honest, i’m not sure how do it as I cant find the full api URL, so I have been trying to figure out how to scrape the website.
I need to be able to enter the bus stop number eg 18418 to get the information I need, the website also uses javascript to dynamiclly populate the information which makes things harder. I also havent found a scraping example that shows how I would populate the stop number to get the information.
Can anyone suggest possible solutions?
Thanks