用于在某个位置获取营业时间的 API? [英] API for getting business hours at a location?

查看:26
本文介绍了用于在某个位置获取营业时间的 API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何 API 可以为特定地点的企业提供营业时间?Google Places、SimpleGeo 和 Yelp 似乎没有公开它.如果没有,是否存在可用于创建此类 API 的某些数据集(同样,我在 data.gov 或其他任何网站上都找不到)?

Are there any APIs that will provide the hours of operation for a business at a particular location? Google Places, SimpleGeo, and Yelp don't seem to expose it. If not, is there some dataset that exists (again, i couldn't find one on data.gov or anything) that i could use to create such an API?

推荐答案

对 Google Places API 的功能请求 Mihai Danila 提到的 已经完成.

The feature request to the Google Places API mentioned by Mihai Danila has been since fulfilled.

评论 17:

开放时间现在会在可用的地方详细信息结果中返回:https://developers.google.com/places/documentation/details#PlaceDetailsResultshttps://developers.google.com/places/documentation/details#PlaceDetailsResponses

Opening hours are now returned in Place Details results where available: https://developers.google.com/places/documentation/details#PlaceDetailsResults https://developers.google.com/places/documentation/details#PlaceDetailsResponses

地方搜索结果现在还包含一个属性,用于指示企业当前是否营业.

Place Search results also now include a property that indicates if a business is currently open.

这篇关于用于在某个位置获取营业时间的 API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆