Skip to content

thisandagain/tineye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 by it's URL
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 see how many images tineye has in it's index
client.count(function (err, results) {
    console.dir(results);
});

Testing

npm test

About

Node.js client for the Tineye search API

Resources

License

Stars

Watchers

Forks

Packages

No packages published