Viewing a single comment thread. View all comments

smauryholmes t1_j9fy8sc wrote

Mind sharing your code? I’ve been using a paid service to do this at my job and would rather do it for free haha.

I assume you need Maps API access?

5

Eyusd OP t1_j9g3sus wrote

I didn't want to spend money on that, so I just used Selenium to simulate what a real user may do.

This whole code is just a big bodge. I just control the web browser with the script, and instruct it to type into the search input coordinates, and scrap the page to retrieve the times.

If you'd like a better way to do this with an API, reach to me in DMs, I'd be happy to help

3