ibm-connections-profiles-service

v1.2.0
An IBM Connections Profiles API Wrapper
ibm-connections-profiles ibm-connections ibm connections profiles oniyi

An IBM Connections Profiles API Wrapper, using the oniyi-http-client package for http abstraction

Install

$ npm install --save ibm-connections-profiles-service

Usage

var IbmConnectionsProfilesService = require('ibm-connections-profiles-service');

var profiles = new IbmConnectionsProfilesService('http://my-server.example.com/profiles');

var options = {} // request options --> use to set options for oniyi-http-client's request

profiles.getEntry({email: '[email protected]'}, options, function(err, profileEntry){
  console.log(profileEntry);
});

Breaking change in 1.0.0

  • no promises anymore, all is with callbacks

License

MIT © Benjamin Kroeger

Metadata

  • MIT
  • Whatever
  • Benjamin Kroeger
  • released 11/22/2017

Downloads

Maintainers