0.1.0 • Published 10 years ago

tineye v0.1.0

Weekly downloads
17
License
-
Repository
github
Last release
10 years ago

tineye

Node.js client for the Tineye search API

Build Status

Installation

npm install tineye

Basic Use

var tineye = require('tineye'),
    client = new tineye('publicKey', 'privateKey');

// Let's search for an image located at this path:
var imagePath = 'http://www.tineye.com/images/meloncat.jpg';
client.search(imagePath, function (err, results) {
    console.dir(results);   // Look at all those cat pictures!
});

// Now let's check on how many API requests we have left
client.remaining(function (err, results) {
    console.dir(results);
});

// Lastly, let's check TinEye's number of indexed images
client.count(function (err, results) {
    console.dir(results);
});

Testing

npm test
0.1.0

10 years ago

0.0.2

12 years ago

0.0.1

12 years ago