New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ddsnodeclient

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ddsnodeclient

REST_API_to_the_Duke_Data_Service__Some_requests_require_Authentication_

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

duke-data-service-nodeclient

Node.js client to interact with the duke data service.

Installation

NPM

npm install ddsnodeclient

GitHub

git clone https://github.com/Duke-Translational-Bioinformatics/duke-data-service-nodeclient.git
cd ./duke-data-service-nodeclient
npm install

Examples

At this time, we only support low-level API calls, which means the user is responsible for chaining together promises to do more advanced functions like uploading a file. Therefore, our examples will only contain examples that don't require promise chaining.

dds = require('ddsnodeclient');

client = new dds.ApiClient({
    "agent_key": "",
    "user_key": "",
    "api_token": "",
    "api_url": ""
});

currentuserinstance = new dds.CurrentuserApi(client);
currentuserinstance.getApiV1CurrentUser().then((data) => {console.log(data.body)});

FAQs

Package last updated on 25 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts