QWeather Astronomy Moon And Phase

1积分/次
ae_qweather_astronomy_moon_and_phase

获取特定地点和日期的月出、月落及每小时月相数据。

天气
1积分/次

价格说明

1积分/次
条件费用
每次调用1积分/次

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
datestring是Set the date, up to 60 days in the future (including today). The date format is yyyyMMdd. Example: `date=20200531`—
langstring否Language setting. See [Language](https://dev.qweather.com/en/docs/resource/language/) for behavior, configuration, and data availability—
locationstring是The location to be queried, support [LocationID](https://dev.qweather.com/en/docs/resource/glossary/#locationid) or comma-separated [longitude and latitude](https://dev.qweather.com/en/docs/resource/glossary/#coordinate) (decimal, up to 2 decimal places), LocationID can be obtained by [GeoAPI](https://dev.qweather.com/en/docs/api/geoapi/). Example: `location=101010100` or `location=116.41,39.92`—

调用示例

参数模板

根据参数配置生成,使用前请替换示例值。

POST/agent-api/v1/tool/executeX-Api-Key
请求代码request.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_qweather_astronomy_moon_and_phase' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "date": "20200531",
    "location": "116.41,39.92"
  }
}'

暂无返回示例。