1.1.25 • Published 7 years ago

my_time_in_tracker_api v1.1.25

Weekly downloads
8
License
Unlicense
Repository
-
Last release
7 years ago

my_time_in_tracker_api

MyTimeInTrackerApi - JavaScript client for my_time_in_tracker_api MyTimeIn Tracker Api MyTimeIn Tracker Api MyTimeIn Tracker Api MyTimeIn Tracker Api This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install my_time_in_tracker_api --save
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

Finally, switch to the directory you want to use your my_time_in_tracker_api from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

You should now be able to require('my_time_in_tracker_api') in javascript files from the directory you ran the last command above from.

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/my_time_in_tracker_api then install it via:

    npm install YOUR_USERNAME/my_time_in_tracker_api --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file, that's to say your javascript file where you actually use this library):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var MyTimeInTrackerApi = require('my_time_in_tracker_api');

var api = new MyTimeInTrackerApi.AuthApi()

var accessToken = "accessToken_example"; // {String} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteAccessToken(accessToken, callback);

Documentation for API Endpoints

All URIs are relative to https://mytimein.com/rainfall

ClassMethodHTTP requestDescription
MyTimeInTrackerApi.AuthApideleteAccessTokenDELETE /auth/revokeDelete Access Token
MyTimeInTrackerApi.AuthApiloginPOST /auth/loginLogin
MyTimeInTrackerApi.AuthApirefreshAccessTokenPOST /auth/refreshRefresh Access Token
MyTimeInTrackerApi.MetaApigetClientTimezoneGET /meta/clienttimezoneGet Client Timezone
MyTimeInTrackerApi.MetaApigetCountryTimezonesGET /meta/countryTimezonesCountry Timezones
MyTimeInTrackerApi.MetaApigetServerTimeGET /meta/servertimeServer Time
MyTimeInTrackerApi.MetaApigetUserObjectGET /meta/userGet User Object
MyTimeInTrackerApi.MetaApigetUsersClientsGET /meta/user/clientsGet Users Clients
MyTimeInTrackerApi.MetaApireportBugPOST /meta/reportbugReport Bug
MyTimeInTrackerApi.MetaApiupdateUserPOST /meta/updateUserUpdate User
MyTimeInTrackerApi.ScheduleApiconfirmSchedulePUT /schedule/confirmConfirm Schedule
MyTimeInTrackerApi.ScheduleApigetScheduleGET /scheduleGet Schedule
MyTimeInTrackerApi.ScheduleApigetTimeSheetGET /schedule/timesheetGet Timesheet
MyTimeInTrackerApi.TrackingApigetWarningIntervalsGET /tracking/intervalsGet Warning Intervals
MyTimeInTrackerApi.TrackingApireportUserIdlePOST /tracking/reportuseridleReport User Idle
MyTimeInTrackerApi.WorkApicallHomePUT /work/callHomeCall Home
MyTimeInTrackerApi.WorkApiendBreakPUT /work/endBreakEnd Break
MyTimeInTrackerApi.WorkApiendWorkPUT /work/endEnd Current Job
MyTimeInTrackerApi.WorkApigetWorkGET /workGet Work
MyTimeInTrackerApi.WorkApistartBreakPUT /work/startBreakStart Break
MyTimeInTrackerApi.WorkApistartWorkPUT /work/startStart Current Job

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

1.1.25

7 years ago

1.1.24

7 years ago

1.1.23

7 years ago

1.1.22

7 years ago

1.1.21

7 years ago

1.1.19

7 years ago

1.1.18

8 years ago

1.1.17

8 years ago

1.1.16

8 years ago

1.1.15

8 years ago

1.1.13

8 years ago

1.1.12

8 years ago

1.1.11

8 years ago

1.1.10

8 years ago

1.1.9

8 years ago

1.1.8

8 years ago

1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.0.53

8 years ago

1.0.51

8 years ago

1.0.48

8 years ago

1.0.46

8 years ago

1.0.45

8 years ago

1.0.44

8 years ago

1.0.43

8 years ago

1.0.42

8 years ago

1.0.40

8 years ago

1.0.32

8 years ago

1.0.31

8 years ago

1.0.30

8 years ago

1.0.27

8 years ago

1.0.26

8 years ago

1.0.25

8 years ago

1.0.24

8 years ago

1.0.23

8 years ago

1.0.22

8 years ago

1.0.21

8 years ago

1.0.20

8 years ago

1.0.19

8 years ago

1.0.18

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.1.0

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.1

8 years ago