0.4.2 • Published 5 years ago

jobcan-client v0.4.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

node-jobcan-client

Node.js module of an unofficial client library for JobCan.

npm Build Status


Notice

  • This module is published under testing phase.
  • This is an unofficial library for convenience of users and managers.
  • We don't guarantee about this library.
  • We don't have relationship with the company of JobCan.

Get Started

You can install with using npm: $ npm install --save jobcan-client

The following is an example code.

var JobCan = require('jobcan-client');
var client = new JobCan();

// Execute authentication
client.auth(YOUR_COMPANY_ID, YOUR_GROUP_MANAGER_ID, YOUR_PASSWORD, function (error, session_id) {

	if (error) throw error;

	// Get a work summary of all employees in this month
	client.getWorkSummariesInThisMonth(function (error, employees) {

		if (error) throw error;

		employees.forEach(function (employee, index) {
			console.log(employee.name);
		});

	});

});

Methods

See documents: https://mugifly.github.io/node-jobcan-client/Client.html


License

The MIT License (MIT)
Copyright (c) 2016 Masanori Ohgita
0.4.2

5 years ago

0.4.1

5 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago