Is it possible to get the "Popular times" information through the Google Places API or any other API? I need this information to be displayed in my application for a particular place.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I haven't managed to test it myself but this is what populartimes
offers to do in Python:
import populartimes
populartimes.get("your-api-key", ["bar"], (48.132986, 11.566126), (48.142199, 11.580047))
More info on developer's github.
回答2:
This is one of the top feature requests in Google issue tracker (more than 500 stars):
https://issuetracker.google.com/issues/35827350
Currently, the state is Assigned, however, no any ETA provided by Google. Please star it to get further updates.
回答3:
It's possible to scrape it, but it violates the Google ToS.
回答4:
yes its possible but as said it violates googles ToS , i have used npm package busy-hours but it's not working so i have modified their code and here is new npm package https://www.npmjs.com/package/google-busy-hours