1.0.7 • Published 7 years ago

srce-issp-client v1.0.7

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

srce-issp-client

Client for accessing Student information on ISSP.

Install

$ npm install srce-issp-client

Usage

const isspClient = require('srce-issp-client');
const client = new isspClient();
Client#login(username: string, password: string) => Promise
  • Use to login client. On authentication fail error is thrown.
  • Promise returns client object and appends user info to client.user.
client.login('AAI@Edu username', 'AAI@Edu password');
Client#getReceipts(maxReceiptAgeInDays: number) => Promise
  • Get all receipts that are not older that maxReceiptAgeInDays days.
  • Promise returns receipts array.
client.getReceipts(365);
Client#getReceiptDetails(receipt: object) => Promise
  • Get details of receipt.
  • Promise returns receipt details object.
client.getReceiptDetails(receipt);
Client#logout() => Promise
  • Perform logout action.
  • Promise returns nothing.
client.logout());

License

MIT © Bartul Kovacic

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago