npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

jumpcloud

0.2.1 • Public • Published

jumpcloud-node

A JumpCloud REST API client.

About

This project is still in its very earliest stages. However the goal is to provide a useable nodeJS helper to operate against the JumpCloud API for administration. Note there is a separate Authentication and Authorization API which is not covered by this repo.

NPM

Build Status Dependency Status GitHub issues

Install

$ npm install jumpcloud

Quickstart

Grab an API token from the admin console (your username in the top right > API settings).

var JumpCloud = require('jumpcloud');
var jc = new JumpCloud("XXXapikeyXXX");
 
jc.getAllUsers(function(x){
  for(a=0;a<x.results.length;a++){
    console.log("Username/ID: " + x.results[a].username + " / " +  x.results[a]._id);
  }
});

Documentation & Examples

See FUNCTIONS file for documentation of all functions

Examples coming soon

Testing

$ env APIKEY=XXXXapikeyXXXX npm run test

Contributors

Authored by @ShakataGaNai

License

See LICENSE file.

Keywords

none

install

npm i jumpcloud

Downloadsweekly downloads

0

version

0.2.1

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability