0.2.7 • Published 9 years ago

wheniwork-unofficial v0.2.7

Weekly downloads
4
License
ISC
Repository
github
Last release
9 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

9 years ago

0.2.6

9 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.0

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago