Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
/ tsheets Public archive
forked from TSheetsTeam/api_phplib

PHP Helper Library for TSheets API

Notifications You must be signed in to change notification settings

Saritasa/tsheets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork of TSheetsTeam/api_phplib

to publish it as composer package, because there is no official package.


TSheets API wrapper PHP

PHP Helper Library for TSheets API

This library provides basic REST operations as well as methods to help with authentication and token retrieval.

Synopsis

$tsheets = new TSheetsRestClient(1, 'your_access_token');
$result = $tsheets->get(ObjectType::Jobcodes);

Examples

The examples folder has three examples, the basic, and reminders, example can be used if you already have an access token (which you can get for your own account via the TSheets Web Dashboard -> Add-ons -> API dialog).

The basic example is a command line example of how to add, edit, and delete timesheets using the TSheets API.

The reminders example is similar to the basic example, but for clock-in/out reminders.

The callback example shows how you can obtain an access token for another user's TSheets account using oAuth 2.

API Documentation

Full API documentation can be found at http://developers.tsheets.com/docs/api/

About

PHP Helper Library for TSheets API

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%