My Project
 All Classes Functions Variables Pages
IFTTT.h
1 /*
2  * IFTTT.h
3  *
4  * Created on: Mar 14, 2017
5  * Author: kolban
6  */
7 
8 #ifndef MAIN_IFTTT_H_
9 #define MAIN_IFTTT_H_
10 
11 #include <RESTClient.h>
12 #include <string>
16 class IFTTT {
17 public:
18  IFTTT(std::string key);
19  virtual ~IFTTT();
20  void trigger(std::string event, std::string value1 = "", std::string value2 = "", std::string value3 = "");
21 private:
22  RESTClient m_restClient;
23  std::string m_key;
24 };
25 
26 #endif /* MAIN_IFTTT_H_ */
Encapsulate IFTTT calls.
Definition: IFTTT.h:16