Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 609 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 609 Bytes

aviary-nodejs

A NodeJS implementation of the Aviary Server-side Render Api.

Installation

To install via npm:

npm install aviary

Usage

Right now the Aviary Render API is limited to Enterprise partners. Please contact [email protected] for more information.

Sample Usage

var Aviary = require('../lib/aviary').Aviary;

var aviary = new Aviary('<apiKey>', '<apiSecret');

var renderConfig = {
	url: '<image url>',
	actionList: <actionlist>
};

var callback = function(error, url) {
	console.log(url);
}

aviary.renderAndWait(renderConfig, callback);