GoogleTimezoneAPI

免费
通过 Dmitry Shumytskyi | 已更新 a month ago | Mapping
人气

4.5 / 10

延迟

127,263ms

服务等级

0%

Health Check

N/A

README

GoogleTimezoneAPI Package

The Google Maps Time Zone API provides a simple interface to request the time zone for a location on the earth.

  • Domain: Google
  • Credentials: Use api key if you need more quota only.

How to get credentials:

  1. If you need a higher quota, create an apiKey at Google console

GoogleTimezoneAPI.getTimeZone

Returns time zone data for a point on the earth, specified by a latitude/longitude pair.

Field Type Description
location String latitude, longitude, representing the location to look up.
timestamp String Specifies the desired time as seconds since midnight, January 1, 1970 UTC. The Google Maps Time Zone API uses the timestamp to determine whether or not Daylight Savings should be applied. Times before 1970 can be expressed as negative values.
language String The language in which to return results
apiKey String Access token obtained from Google.com

GoogleTimezoneAPI.getLocalTime

Returns the local time of a given location.

Field Type Description
location String latitude, longitude, representing the location to look up.
timestamp String Specifies the desired time as seconds since midnight, January 1, 1970 UTC. The Google Maps Time Zone API uses the timestamp to determine whether or not Daylight Savings should be applied. Times before 1970 can be expressed as negative values.
apiKey String Access token obtained from Google.com
关注者:2
资源:
产品网站
API 创建者:
Rapid account: Dmitry Shumytskyi
Dmitry Shumytskyi
dimas
登录并给 API 打分
打分:5 - 投票:1