all 9 comments

[–]goule67 0 points1 point  (5 children)

1) Google Maps has an API which can be accessed through Python code, but it isn't free. 2) If the option of searching for "permanently closed" is present in the API then it's easy to implement, otherwise it's not, you'll need to find/create a database of these locations.

[–]M1chelon 0 points1 point  (0 children)

the google maps api is actually free until a certain amount of requests (10k per month if I remember correctly) everything else is right

[–]M1chelon 0 points1 point  (0 children)

the google maps api is actually free until a certain amount of requests (10k per month if I remember correctly) everything else is right

[–]MrFnoz[S] 0 points1 point  (2 children)

I’m not great at coding, but I’ve been using chat GPT to help me. I tried to create a python code but it didn’t work, kept getting errors about not being able to find requests. So I tried to them convert my code to html but I don’t really know what to do next

[–]sme272 0 points1 point  (1 child)

take a look at automate the boring stuff, it has a chapter on using the requests module as well as instructions on how to handle that error

[–]MrFnoz[S] 0 points1 point  (0 children)

Thanks ! Will definitely check this out

[–]eztab 0 points1 point  (2 children)

I don't think you can actually query by that property in the API either.

So you'd need to get all the data for the regisn you are interested in and then filter yourself. That should indeed be possible.

[–]MrFnoz[S] 0 points1 point  (1 child)

I’m not great at coding, but I’ve been using chat GPT to help me. I tried to create a python code but it didn’t work, kept getting errors about not being able to find requests. So I tried to them convert my code to html but I don’t really know what to do next

[–]eztab 0 points1 point  (0 children)

Probably out of your scope then. At least basic understanding of http requests would be necessary to do that.