fotofoto
Unofficial simple wrapper library for Flashfoto API http://flashfotoapi.com/. Every APIs return Promise.
Usage
npm install fotofoto
APIs:
var FF = ; var ff = username : '[[YOUR USER NAME]]' apikey : '[[YOUR API KEY]]'; // Upload to server.// See also http://flashfotoapi.com/docs/addvar data = fs;ff; // Get list of uploaded images.// See also http://flashfotoapi.com/docs/findff; // Request segment processing.// See also http://flashfotoapi.com/docs/segmentff; // Check segment processing status.// See also http://flashfotoapi.com/docs/segmentstatusff; // Get processed image.// See also http://flashfotoapi.com/docs/getff;
Automated processing example
Upload, Request segment, wait, and get result images.
var fotofoto = fs = ; var ff = username : '[[YOUR NAME]]' apikey : '[[YOUR KEY]]'; var imageData = fs;ff ;
See also official REST API documents