跳转到主要内容
POST
Get Time Zone

请求规范

  • 方法与路径: POST /apis/v1/google-maps/get-time-zone
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/google-maps/get-time-zone
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际用量收费。 默认请求预估费用:$0.0053 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
location
string
必填

A comma-separated latitude,longitude tuple representing the location to look up. For example: '39.6034810,-119.6822510'.

示例:

"39.6034810,-119.6822510"

"37.7749,-122.4194"

timestamp
integer
必填

The desired time as seconds since midnight, January 1, 1970 UTC (Unix epoch time). The API uses this timestamp to determine whether Daylight Savings should be applied for the location's time zone.

示例:

1331161200

1609459200

language
enum<string>

Supported language codes for Google Maps API.

可用选项:
ar,
bg,
bn,
ca,
cs,
da,
de,
el,
en,
en-AU,
en-GB,
es,
eu,
fa,
fi,
fil,
fr,
gl,
gu,
hi,
hr,
hu,
id,
it,
iw,
ja,
kn,
ko,
lt,
lv,
ml,
mr,
nl,
no,
pl,
pt,
pt-BR,
pt-PT,
ro,
ru,
sk,
sl,
sr,
sv,
ta,
te,
th,
tl,
tr,
uk,
vi,
zh-CN,
zh-TW
示例:

"en"

"es"

"fr"

响应

Tool result data

status
enum<string>
必填
可用选项:
OK,
INVALID_REQUEST,
OVER_DAILY_LIMIT,
OVER_QUERY_LIMIT,
REQUEST_DENIED,
UNKNOWN_ERROR,
ZERO_RESULTS
dstOffset
number
errorMessage
string
rawOffset
number
timeZoneId
string
示例:

"America/Los_Angeles"

"Australia/Sydney"

"Europe/London"

timeZoneName
string
示例:

"Pacific Daylight Time"

"Australian Eastern Daylight Time"