Skip to content

briandconnelly/pyfttt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyfttt

Python tools for interacting with IFTTT Webhooks Channel.

Installation

pip install pyfttt

Command Line Tool

pyfttt is an included command line tool for sending Webhooks Channel events. To see a list of available arguments, run pyfttt --help, which produces:

usage: pyfttt [-h] [--version] [-k K] -e E [value1] [value2] [value3]

Send Webhooks Channel events to IFTTT

optional arguments:
  -h, --help       show this help message and exit
  --version        show program's version number and exit

sending events:
  -k K, --key K    IFTTT secret key
  -e E, --event E  The name of the event to trigger
  value1           Extra data sent with the event (optional)
  value2           Extra data sent with the event (optional)
  value3           Extra data sent with the event (optional)

Visit https://ifttt.com/channels/maker_webhooks for more information

The --key argument can be omittrd if the IFTTT secret key is defined in the environment as IFTTT_API_KEY.

Requirements

License

pyfttt is released under the BSD 2-clause license. See LICENSE for details.