On this page

Lighting Biorhythm

The interface depends on cloud capabilities and requires authorization configuration in the Mini Program Developer Platform's Development Settings - Cloud Capability.

Interface Capabilities

We provide the following interface capabilities for geographic biorhythm lighting, which developers can directly call using the API to implement related business development.

Note that the following APIs need to be used with @ray-js/ray^1.4.14.

Interface NameDescription
createLightRhythmsRefreshTimerCreates a scheduled task to refresh the light-rhythms time
getLightRhythmsCityInfoRetrieves city information
getLightRhythmsTimeInfoRetrieves sunrise and sunset times