Next Phenomenal Microbrewery
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

orthanc-client

0.10.5 • Public • Published

orthanc-client Build Status

An Orthanc REST API client designed for NodeJS.

Installation

$ npm install orthanc-client

Usage

var oc = require('orthanc-client');
var client = new oc({
    url: 'http://localhost:8042',
    auth: {
      username: 'foo',
      password: 'bar'
    }
});
 
client.instances.getAll()
    .then(function(res) {
        console.log(res);
    })
    .catch(function(err) {
        console.log(err);
    });

Documentation

I've written a short documentation for each implemented functions. You can read it in the DOCUMENTATION.md file. Feel free to improve it and send a pull request.

REST API

You'll find the quick reference for Orthanc's REST API here

License

Copyright 2015 - Frédéric Woelffel Published under the MIT open source license. See full license in LICENSE.txt

install

npm i orthanc-client

Downloadsweekly downloads

2

version

0.10.5

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability