easywebthumb

1.0.0 • Public • Published

NAME

node-easywebthumb - EasyThumb Bluga.net WebThumb API wrapper for node.js

DESCRIPTION

You will need your own API key to use this wrapper. For more information see the EasyThumb API documentation.

INSTALL

The easy way to install is to use npm:

npm install easywebthumb

USAGE

var easythumb = require('easywebthumb');
 
var apiuser = '<api user>';
var apikey = '<api key>';
 
var url = 'http://www.google.com/';
var size = 'large';
var daystocache = '7';
 
var api = easythumb.createAPI(apiuser, apikey);
api.create(url, size, daystocache, function(body, uri, error)
{
  if(error != null)
  {
    console.log('Error: ' + error);
  }
  else
  {
    console.log('Response uri: ' + uri);
  }
});

LICENSE

node-easywebthumb is released with an MIT license

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i easywebthumb

Weekly Downloads

2

Version

1.0.0

License

none

Last publish

Collaborators

  • carson