Python Forum
Needing to Check Every Quarter Hour
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Needing to Check Every Quarter Hour
#10
Their API says it is lng.

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.
Reply


Messages In This Thread
Needing to Check Every Quarter Hour - by bill_z - Feb-08-2022, 04:30 PM
RE: Needing to Check Every Quarter Hour - by bill_z - Feb-08-2022, 05:01 PM
RE: Needing to Check Every Quarter Hour - by bill_z - Feb-08-2022, 07:19 PM
RE: Needing to Check Every Quarter Hour - by deanhystad - Feb-09-2022, 06:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  needing some help to write some code for a game calculator rymdaksel 1 496 Jan-02-2024, 09:56 AM
Last Post: deanhystad
  code running for more than an hour now, yet didn't get any result, what should I do? aiden 2 1,577 Apr-06-2022, 03:41 PM
Last Post: Gribouillis
  Struggling for the past hour to define function and call it back godlyredwall 2 2,284 Oct-29-2020, 02:45 PM
Last Post: deanhystad
  Noob needing guidance.... bako 0 1,887 Mar-29-2020, 06:55 PM
Last Post: bako
  Global Variables - Some Points Needing Clarification. adt 4 3,023 Nov-30-2019, 01:23 PM
Last Post: adt
  Beginner needing advice with data files JFI2019 2 2,261 Nov-06-2019, 04:56 PM
Last Post: JFI2019
  Typical beginner needing some help foxter00 1 2,711 May-08-2019, 11:46 PM
Last Post: michalmonday
  Different prices per hour kemper 1 2,072 Jan-29-2019, 11:06 AM
Last Post: Larz60+
  New user/beginner needing help oldDog 3 3,282 Apr-17-2018, 02:31 PM
Last Post: oldDog
  Beginner needing help! Franco 2 3,298 Jul-29-2017, 12:56 PM
Last Post: Franco

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020