Feb-09-2022, 06:59 PM
Their API says it is lng.
https://sunrise-sunset.org/api
https://sunrise-sunset.org/api
Quote:API documentation
Ours is a very simple REST api, you only have to do a GET request to https://api.sunrise-sunset.org/json.
Parameters
lat (float): Latitude in decimal degrees. Required.
lng (float): Longitude in decimal degrees. Required.
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. Optional.
callback (string): Callback function name for JSONP response. Optional.
formatted (integer): 0 or 1 (1 is default). Time values in response will be expressed following ISO 8601 and day_length will be expressed in seconds. Optional.