Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tineye-api

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tineye-api

TinEye Commercial API node.js library

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.2K
decreased by-4.67%
Maintainers
1
Weekly downloads
 
Created
Source

tineye-api

TinEye Commercial API Node.js library

Installation

::

$ npm install tineye-api

Using the library

Once installed, require the library to start using it:

::

var tineye = require('tineye-api')

Once required, you are ready to start using it with node!

::

var api = new tineye('https://api.tineye.com/rest/', public_key, private_key)

Searching

::

url = 'http://tineye.com/images/meloncat.jpg'
api.search_url(url, 0, 10, 'score', 'desc', function(data) {
  console.log(data)
})

img = fs.readFileSync('/Users/Mypath')
api.search_data(img, 0, 10, 'size', 'asc', function(data) {
  console.log(data)
})

Remaining Searches

::

api.remaining_searches(function(data) {
  console.log(data)
})

Number of Indexed Images

::

api.image_count(function(data) {
  console.log(data)
})

Release History

  • 0.1.0 Initial release

FAQs

Package last updated on 08 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc