ITFFF: custom maker launcher
Project description
ITFFF Custom maker launcher
Descripción
Una especie de utilidad para usar el Maker Event de IFTTT y que sea fácilmente ampliable por plugins creados en Python.
Requerimientos
- Python3
Una cuenta en IFTTT, y al un menos evento creado con Maker Webhooks. La clave (key) se puede pasar por parámetro o (mucho mejor) definir la siguiente variable de entorno:
- IFTTT_API_KEY
Instalación
$ pip install iftttcml
Uso
usage: iftttcml [-h] [-e EVENT] [-p PARAMS] [-k KEY] [-v] optional arguments: -h, --help show this help message and exit -e EVENT, --maker-event EVENT Maker Event -p PARAMS, --params PARAMS Params for maker Event in JSON -k KEY, --key KEY IFTTT API key -v, --version show program's version number and exit
Eventos creados ya
people_in_space
Evento de ejemplo que envía a tu aplicación IFTTT el número de personas en el espacio.
metrovlc_sin_saldo
Recupera y te envía un mensaje a tu aplicación IFTTT usando el evento metrovlc_sin_saldo.
Uso
$ iftttcml --maker-event metrovlc_sin_saldo --params "{'bono': 3611230999, 'limite': 20}"
Y en tu movil aparecéra el mensaje:
Tarjeta 3611230999: 18.3 Euros
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size iftttcml-0.5.1-py3-none-any.whl (7.6 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size iftttcml-0.5.1.tar.gz (5.3 kB) | File type Source | Python version None | Upload date | Hashes View |