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

passkit-sdk

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passkit-sdk

SDK Bindings for Javascript (Node JS)

latest
Source
npmnpm
Version
0.1.9
Version published
Maintainers
1
Created
Source

PassKIT SDK for Node JS

PassKIT API Rest SDK for Node JS

Welcome to the unofficial PassKIT SDK for Node JS, this SDK is to integrate PassKIT API into a node js app in an easy and fashion way.

SDK Integration: the easy way:

npm install passkit-sdk

SDK Integration

In order to integrate the SDK into your node.js project follow the next steps:

  • Install urllib dependencie into your system.

  • Add dependency 'passkit-sdk' to your package.json file.

  • Require 'passkit-sdk' in your script

    	var passkit_sdk = require('passkit-sdk');	
    
  • Configure SDK, by providing the required parameters:

    	passkit_sdk.configure({ apiKey: 'Your API Key',
                        		apiSecret: 'Your API Secret Key'
    	});	
    

    All configure options available are:

    • connection_timeout - the timeout to wait a request
    • connection_readtimeout - the timeout to read response
    • api_version - the version of API (defualt v1)
    • apiKey - the api key of your passkit account
    • apiSecret - the api secret key of your passkit account
  • Invoke API

    	passkit_sdk.template.list(function(err, cb) {
        	    if (err) {
                	console.log(err);
        	    } else {
                	console.log(cb);
        	    }
    	});		
    

About

Created at The Hover Cloud Programming Engine Inc.

Keywords

passkit

FAQs

Package last updated on 03 Jul 2015

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