Load a list of clients from your server

Unlock premium in the appstore, and be able to connect the Timer app to a webserver.

After checking the username and password, you should process the POST parameter action. For getting the clients that your timer can connect to, the action is called get_clients.

The app expects to receive a JSON encoded array as result. For example:

[{"name":"Client 1 name","internal_id":1,"price":0,"description":"DD-MM Worked hours"},{"name":"Client 2 name with hour rate","internal_id":2,"price":65,"description":"DD-MM Worked hours"},{"name":"Client 17 name with hour rate","internal_id":17,"price":85,"description":"DD-MM Worked hours"}]

As you can see, you need to provide an array of clients. For each client, provide a name, an internal_id, a price (per hour) and a description. The price can be 0, but if you provide a price the app will be able to provide you with (exportable) graphs of your archived timings.

The description you provide will be added as the name/description of the timer. DD-MM or MM-DD at the start of the description will be replaced with date of the start of the timer. For example, starting a timer today will result in a name/description of 22-01 for DD-MM or 01-22 for MM-DD.

All your client information will be stored in iCloud, so the privacy of you and your clients is safe. No data is sent to our webservers, the only communication is between the app and your server, or between the app and your private iCloud.

Other instructions:
Step 1: Login methods explanation
Step 2: Load a list of clients
Step 3: Process a pushed timer