1.2.7 • Published 3 years ago

cloudflow-api v1.2.7

Weekly downloads
4
License
MPL-2.0
Repository
github
Last release
3 years ago

cloudflow-api

Description

This is node.js wrapper for the Cloudflow API. It is available in async and sync flavors.

Usage

var cloudflowAPI = require('cloudflow-api');

// Create a Cloudflow API wrapper for http://localhost:9090
var apiSync = cloudflowAPI.getSyncAPI('http://localhost:9090');
var apiAsync = cloudflowAPI.getAsyncAPI('http://localhost:9090');

// Doing sync Cloudflow calls
var session = apiSync.auth.create_session('user', 'password');

// Setting the session
apiSync.m_session = session.session;

// Doing calls with that session
var whitepapers = apiSync.whitepaper.list();

// Doing async Cloudflow calls
apiAsync.auth.create_session('user', 'password', function(session) {
	...
}, function(error) {
	...
});
1.2.7

3 years ago

1.2.6

4 years ago

1.2.5

6 years ago

1.2.4

7 years ago

1.2.2

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago