Skip to content

Instantly share code, notes, and snippets.

@perler perler/aquaio.js
Last active Apr 3, 2017

Embed
What would you like to do?
access to aqua.io medical db
var fs = require('fs'),
path = require('path'),
Twit = require('twit'),
request = require('request'),
aquaIo = require('aqua-io'),
config = require(path.join(__dirname, 'config.js'));
var client = aquaIo.client({
client_id: '*************************************',
client_secret: '************************************'
},{
base: 'https://aqua.io',
user_agent: 'Bot',
headers: 'XHTML',
request_type: 'JSON'
});
var token = client.accessToken().retrieve();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.