Skip to content

eru/ifttt-sunset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ifttt-sunset

This script calls the Maker event API of ifttt at sunset time.

Install

poetry install

Usage

It's better to call it using a job scheduler such as CRON.

Replace the api_key_string with your Maker event API key.

# If you call a `sunset` event to the Maker event API at sunset time.
./ifttt-sunset.py -lat 35.677730 -lng 139.754813 -e sunset -k api_key_string

# If you call a `sunset` event to the Maker event API 30 minutes before sunset time.
./ifttt-sunset.py -lat 35.677730 -lng 139.754813 -e sunset -k api_key_string -a -30

Help

./ifttt-sunset.py -h

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages