I have created an API in order for you to be aware when you need to wear you puffa jacket. In other words, when temperature reached 0 degree, get notified directly on your phone.
You're welcome!
IFTTT is the acronym of "If this then that. This is a web service that makes it really easy to connect different services using their APIs, with a simple interface.
Web hooks provide a mechanism where by a server-side application can notify a client-side application when a new event (that the client-side application might be interested in) has occurred on the server.
First thing first, create an account on IFTTT.
Then, go on the right part of the page, click on "Create".
Now, click on "+this".
Then search for "Webhooks".
Click on "Receive a web request".
Here, you can enter any kind of Event Name you want. As an example, we can choose "0_degrees_days".
Then, click on "+that".
Search for "Webhooks" and select "Notifications".
Then, click on "Create action" before clickling on "Finish".
Now, it is important to get the key. For that, search for "Webhooks" on the search bar.
After clicking on it, click on "service" and select "Webhooks".
Finally click on "Documentation" to get access to the key.
The API is now created. In order to receive a notification on the IFTTT app when temperature reach 0 degree, we need to code it.
Here is an example: