是否有可能获得“热门时间"?通过Google Places API获得的信息
问题描述:
是否可以通过Google Places API或任何其他API获取受欢迎时间"信息?我需要将此信息显示在我的特定位置的应用程序中.
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.
答
我自己尚未对其进行测试,但这是populartimes
在Python中提供的功能:
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))
有关开发者的 github 的更多信息.
More info on developer's github.