Socket
Socket
Sign inDemoInstall

ubivar

Package Overview
Dependencies
23
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ubivar

API wrapper to Ubivar


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Ubivar node.js bindings Build Status

Installation

git clone https://github.com/ubivar/ubivar-node.git

Documentation

Documentation is available at https://ubivar.com/docs/nodejs

API Overview

Every resource is accessed via your ubivar instance:

var Ubivar    = require("ubivar")
  , clientId  = "your-client-id"
  , secretKey = "your-secret-key"
  , apiVersion= "your-api-version"
  , ubivar    = new Ubivar(clientId, secretKey, apiVersion) 

Every resource accepts an optional callback as the last argument.

ubivar.accounts.create( {
    "user_id"       : "test_123"
  , "session_id"    : "test_session_id_123"
  , "user_email"    : "test_email@email-123.com"
  , "first_name"    : "test_yourfirstname_123"
  , "last_name"     : "test_yourlastname_123"
  , "primary_phone" : "+123456789-123"
  }, function(err, resource){
    err // null if no error
    resource // the created resource (account)
  })

Available resources and methods

  • Account
    • create(params)
    • retrieve(id)
    • update(id, params)
    • del(id)
    • list()
  • Transaction
    • create(params)
    • retrieve(id)
    • update(id, params)
    • del(id)
    • list()
  • Login
    • create(params)
    • retrieve(id)
    • update(id, params)
    • del(id)
    • list()
  • Logout
    • create(params)
    • retrieve(id)
    • update(id, params)
    • del(id)
    • list()
  • Item
    • create(params)
    • retrieve(id)
    • update(id, params)
    • del(id)
    • list()
  • Label
    • create(params)
    • retrieve(id)
    • update(id, params)
    • del(id)
    • list()

Keywords

FAQs

Last updated on 04 Mar 2015

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc