0.1.12 • Published 3 years ago

garoon-soap v0.1.12

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

garoon-soap

Garoon SOAP API client library for JavaScript applications (both on web browser and Node.js).

npm version npm downloads License

Overview

garoon-soap is an isomorphic JavaScript library utilizing Garoon SOAP API. It works both in the browser and Node.js.

With this library, you can use Garoon SOAP API without considering XML which is too hard for developers to handle.

Supported APIs

Setup

Node.js

Install garoon-soap via npm.

npm install garoon-soap

Require garoon-soap in your Node.js code.

const GaroonSoap = require('garoon-soap');
const garoon = new GaroonSoap('https://example.cybozu.com/g/', 'username', 'password');

// example
const start = new Date();
const end = new Date();
end.setDate(start.getDate() + 1);
garoon.schedule.getEvents(start, end).then(events => {
    console.log(events);
});

Web Browser

Download garoon-soap.min.js from Releases.

Load it by <script src="/path/to/garoon-soap.min.js"></script>.

Then, you can use GaroonSoap class in your JavaScript.

// You can use session authorization if you have already logged-in to Garoon.
const garoon = new GaroonSoap('https://example.cybozu.com/g/');

// example
const start = new Date();
const end = new Date();
end.setDate(start.getDate() + 1);
garoon.schedule.getEvents(start, end).then(events => {
    console.log(events);
});

License

MIT

Author

miyajan: Jumpei Miyata miyajan777@gmail.com

Disclaimer

This OSS is my own personal work and does not have any relationship with Cybozu Inc. or any other organization which I belong to.

0.1.12

3 years ago

0.1.9

6 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago