QWeather Astronomy Moon And Phase
1积分/次
ae_qweather_astronomy_moon_and_phase
获取特定地点和日期的月出、月落及每小时月相数据。
1积分/次
价格说明
1积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 1积分/次 |
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
date | string | 是 | Set the date, up to 60 days in the future (including today). The date format is yyyyMMdd. Example: `date=20200531` | — |
lang | string | 否 | Language setting. See [Language](https://dev.qweather.com/en/docs/resource/language/) for behavior, configuration, and data availability | — |
location | string | 是 | 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"
}
}'暂无返回示例。
