Skip to content

This script retrieves the sunrise and sunset times for a specific location using the Sunrise-Sunset API.

License

Notifications You must be signed in to change notification settings

overlordvishal97/Sunrise-and-Sunset-Times

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Sunrise-and-Sunset-Times

This script retrieves the sunrise and sunset times for a specific location using the Sunrise-Sunset API.

Features

Retrieves sunrise and sunset times for a given location Prints the results to the console

Getting Started

Clone the repository or download the code. Replace my_lat and my_long with your own latitude and longitude coordinates. Run the script using Python (e.g., python script.py).

Requirements

Python 3.x requests library (install with pip install requests) datetime library (built-in)

About

This script retrieves the sunrise and sunset times for a specific location using the Sunrise-Sunset API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages