fs-client

0.1.1 • Public • Published

Felles Studentsystem (FS) client

Documentation: http://www.fellesstudentsystem.no/dokumentasjon/

Codeship Status for Skalar/fs-client

Examples

import {crud} from './lib/fs'
 
crud.setup({
  url: 'https://jboss-test.uio.no/fsrest/rest/crud',
  username: 'username',
  password: 'password'
})
 
// Find Soknad by year and terminkode
crud.SoknadsAlternativ.find({Aarstall: 2015, Terminkode: 'HØST'})
  .then(console.log)
  .catch(console.error)
 
// Find person by ssn
crud.Person.findBySSN(process.argv[2])
  .then(console.log)
  .catch(console.error)

Readme

Keywords

none

Package Sidebar

Install

npm i fs-client

Weekly Downloads

2

Version

0.1.1

License

ISC

Last publish

Collaborators

  • gudleik