Skip to content
Script to punch-in punch-out of timewatch.co.il
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Procfile
README.md
app.py
requirements.txt
runtime.txt
timewatch.py

README.md

Security note from the author

The following links to herokuapps have been provided by 3rd parties, it is EXTREMELY recommended you host your own instance of this API.

If you insist, however, this repository is automatically published at https://timewatch-checkin.herokuapp.com/ as seen on the deployments page.

Force me to click on buttons you shall not

http://timewatch.co.il is a simple (and annoying) web application given to employees to mark the time of their arrival and departure to/from work.

The hassle of logging in every day and clicking on the "I'm here!" button made me look for an automated solution location based. crediting this awesome blogpost, and after some adjustments + fixes - it can be automated using the almighty IFTTT app

image

image

Basic Usage

You'll only need 2 things

  1. a mobile phone with the IFTTT app installed
  2. credentials to http://timewatch.co.il

Login to IFTTT and create 2 new applets based on location, one for entering the place and one for leaving the place

  • set the location with a decent radius

  • set the url to https://timewatch-ws.herokuapp.com/punch-out or https://timewatch-ws.herokuapp.com/punch-in

  • set the http method to POST

  • set the content type to application/json

  • set the body to

    { "employeeId": "ZZZZ", "company": "YYYY", "password": "XXXX"}

Example

image

You can’t perform that action at this time.