Freigeben über


Sunrise-Sunset (Independent Publisher) (Preview)

Sunrise-Sunset provides sunset and sunrise times for a given latitude and longitude, including twilight informations. Attribution required.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Fördős András
Email fordosa90+ipc_sunrise@gmail.com
Connector Metadata
Publisher Fördős András
Website https://sunrise-sunset.org/api
Privacy policy https://sunrise-sunset.org/privacy
Categories Data

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Get sunset-sunrise

Query sunrise and sunset information (twilight included) based on latitude and longitude.

Get sunset-sunrise

Query sunrise and sunset information (twilight included) based on latitude and longitude.

Parameters

Name Key Required Type Description
Latitude
lat True float

Latitude in decimal degrees, for example '36.7201'.

Longitude
lng True float

Longitude in decimal degrees, for example '-4.42034'.

Date
date string

Date in YYYY-MM-DD format. Also accepts other date formats and even relative date formats. If not present, date defaults to current date.

Formatted
formatted integer

Formatted (1) or not (0) response. Time values in response will be expressed following ISO 8601 and day_length will be expressed in seconds.

Returns

Name Path Type Description
Sunrise
results.sunrise string

Timestamp, indicating when the sun comes above the horizon.

Sunset
results.sunset string

Timestamp, indicating when the sun goes down below the horizon.

Solar noon
results.solar_noon string

Timestamp, when the Sun passes a location's meridian and reaches its highest position in the sky.

Day length
results.day_length string

Length of the day (sun above horizon).

Civil twilight begin
results.civil_twilight_begin string

Timestamp, when the rising sun is less than 6 degrees below the horizon.

Civil twilight end
results.civil_twilight_end string

Timestamp, when the descending sun reaches 6 degrees below the horizon.

Nautical twilight begin
results.nautical_twilight_begin string

Timestamp, when the rising sun is between 12 degrees and 6 degrees below the horizon.

Nautical twilight end
results.nautical_twilight_end string

Timestamp, when the descending sun is between 6 degrees and 12 degrees below the horizon.

Astronomical twilight begin
results.astronomical_twilight_begin string

Timestamp, when the rising sun is between 18 degrees and 12 degrees below the horizon.

Astronomical twilight end
results.astronomical_twilight_end string

Timestamp, when the descending sun is between 12 degrees and 18 degrees below the horizon.

Status
status string

Status of response.