linkorb / timeular-client
Timeular/zei client library
v1.0.0
2018-07-29 14:42 UTC
Requires
- php: >=7.1
- guzzlehttp/guzzle: ^6.0
Requires (Dev)
- symfony/dotenv: ^4.0
This package is auto-updated.
Last update: 2024-12-17 05:08:43 UTC
README
This is a PHP library for Timeular.
It interacts with their API, which is documented at:
Development, examples and configuration
The examples/
directory shows you a couple of example usages for listing devices, activities, time-entries and starting/stopping tracking.
The example scripts all look for TIMEULAR_KEY
and TIMEULAR_SECRET
environment variables.
To configure those, simply copy the included .env.dist
to .env
and enter your own API credentials.
After this you can simply run the examples like this:
$ php example/get-activities.php
$ php example/get-devices.php
$ php example/start-tracking.php <activityId>
$ php example/stop-tracking.php <activityId>
$ # etc etc
License
MIT. Please refer to the license file for details.
Brought to you by the LinkORB Engineering team
Check out our other projects at linkorb.com/engineering.
Btw, we're hiring!