On this page

Weather Service

This service relies on cloud capabilities and requires authorization configuration in the Mini Program Developer Platform under Development Settings - Cloud Capability.

Interface Capabilities

We provide the following interface capabilities for the weather service. Developers can directly call the APIs to implement various weather-related features.

Note: The following APIs should be used with basic library > 2.18.1.

API NameDescription
getWeatherDailyHistoryQuery historical weather based on device ID