0.2.7 • Published 7 years ago

wheniwork-unofficial v0.2.7

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

#nodejs wrapper around the WhenIWork API.

The structure of this code comes from WhenIWork PHP API.

var WhenIWork = require('wheniwork-unofficial');
var api = new WhenIWork('api_key', 'email', 'password');

api.get('users', function (users) {
    console.log(users.users);
});

Methods provided:

  • get
  • post
  • create
  • update
  • delete

Function signature for the methods:

.method(api_route, request_body, additional_headers, callback)

However, request_body and additional_headers are optional.

0.2.7

7 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.0

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago