The Pavlok API is designed as a way to connect Pavlok to the IoT world, as well as create new opportunities for application-based integrations and triggers.
You can trigger Pavlok with as little as four lines of code (this example is using Node):
Here are the resources to get you started:
Pavlok Node module git repository
Writing a script using this module is a pretty straight forward process. Keep in mind the requirements and limitations documents under the ‘Purpose’ heading, but if you’re looking to do some simple scripting, you should be in for a pretty easy ride.
More secure than the Node module, but will take a little bit longer to get up and running. You can use OAuth to interact with the Pavlok API on behalf of an user within your application:
FOLLOW, SUBSCRIBE, TRANSFORM
Habits, Technology & Behavioral Change