如何根据来源和目的地显示我的路线中的 ATM 列表

问题描述

我正在尝试在我的路线(来源和目的地)中显示 ATM 列表。我知道有一个 placeAPI 可以获取附近的 ATM,但我想获取路线中的 ATM 列表,但我无法根据我的来源和目的地获取它。是否有任何 API 或技巧可以实现这一目标?任何建议/答案将不胜感激。 提前致谢。

解决方法

您可以通过 from tkinter import * root = Tk() root.title('Кликер') full_screen = 0 root.geometry('1920x1080') stop = 0 def clock(): global stop if stop == 0: ClockGif = PhotoImage(file='Часы\Часы0.png') ClockLabel = Label(root,image=ClockGif,bd=0) ClockLabel.place(x=10,y=10) root.after(47900,clocks) root.update for i in range(958): root.after(50) root.update() ClockGif['file'] = 'Часы\Часы' +str(i) + '.png' else: pass def clocks(): global stop if stop == 0: clock() else: pass def stoper(): global stop stop = 1 root.after(1000,stoper) root.update clock() root.mainloop() link

使用 Places API

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=1500&type=atm&key=YOUR_API_KEY