Developer API

TimeTable provides third party developers with easy access for getting data into TimeTable through our simple API. Although the list of supported APIs is short, it will grow with time. I am also open to hear any suggestions for making an API simpler or adding anything developers are interested in.

How It Works

All API calls follow a simple pattern.

  • You direct the user to http://www.timetableapp.com/TimeTable/?api=
The TimeTable server will convert that "?api=" part of the url into a hash for the URL. ALWAYS use the ?api= though! If the user is not already logged in he will be redirected to the login page and the url hash will be lost; using "?api=" instead will keep this data safe.
  • Each API call has a set number of parameters.
  • Each parameter MUST be URL encded.
  • Each parameter is separated by a forward slash : "/"


Add Work Time

Used for: Adding work time for a project. For example, you may want to add TimeTable integration to your work timer.
parameters:

  • Date:
    • Required: YES
    • Type: Javascript Date String (Jan 01 2010)
    • Purpose: Specifies the date for the work time
  • Start Time:
    • Required: YES
    • Type: Javascript Date and Time String (Jan 01 2010 12:30 am)
    • Purpose: Specifies the start time for the work time
  • End Time:
    • Required: YES
    • Type: Javascript Date and Time String (Jan 01 2010 12:30 am)
    • Purpose: Specifies the end time for the work time
  • Time Worked:
    • Required: NO
    • Type: Javascript Date and Time String (Jan 01 2010 12:30 am)
    • Purpose: Specifies the total time worked.
    • Notes: This may be different from the difference between the start and end time. For example if the timer was paused for 10 minutes while the user taking a break.