Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
IFTTT Class Reference
The IFTTT class (if this then that) More...
#include <ifttt.h>
Public Member Functions | |
| IFTTT (const char *event, const char *key, TCPSocketConnection *s=NULL) | |
| Constructor, initialize the Event Name and Secret Key to be used. | |
| bool | addIngredients (char *v1=NULL, char *v2=NULL, char *v3=NULL) |
| Add ingredients (values) to be sent to maker.ifttt.com. | |
| bool | addIngredients (int v1=NULL, int v2=NULL, int v3=NULL) |
| Add ingredients (values) to be sent to maker.ifttt.com. | |
| bool | trigger (int triggerType=IFTTT_POST) |
| Send data via POST or GET to maker.ifttt.com. | |
Detailed Description
The IFTTT class (if this then that)
Definition at line 40 of file ifttt.h.
Constructor & Destructor Documentation
| IFTTT | ( | const char * | event, |
| const char * | key, | ||
| TCPSocketConnection * | s = NULL |
||
| ) |
Member Function Documentation
| bool addIngredients | ( | char * | v1 = NULL, |
| char * | v2 = NULL, |
||
| char * | v3 = NULL |
||
| ) |
| bool addIngredients | ( | int | v1 = NULL, |
| int | v2 = NULL, |
||
| int | v3 = NULL |
||
| ) |
Add ingredients (values) to be sent to maker.ifttt.com.
- Parameters:
-
v1 value 1 to send v2 value 2 to send v3 value 3 to send
- Returns:
- true if successful, false if failed
Generated on Thu Jul 14 2022 01:56:10 by
1.7.2