iconfinder

iconfinder search icon

npm install iconfinder
4 downloads in the last week
4 downloads in the last month

Build Status

iconfinder.com simple api

Install

npm install iconfinder

Usage

var iconfinder = require('iconfinder')({apikey:"xxxx",method:"json"});
//or
var iconfinder = require('iconfinder');
var icon =iconfinder({apikey:"xxxx",method:"json"});
Arguments Type example
apikey string cef2745a5xxx..
method string json,xml
iconfinder.search({q:"user",c:10,p:0,min:1,max:48}).exec(function(err,data){
    if(err) throw err
    else console.log(data);
});

params

  • q: Search term
  • p: Specify result page (index). Starts from 0
  • c: Number of icons per page. (Takes values between 1 and 50)
  • l: Filter on license. Takes the following values
    • 0 - include all icons
    • 1 - includes only icons with commercial licenses
    • 2 - includes only icons with commercial license which does not require a link to designer's website.
  • min: Specify minimum size of icons
  • max: Specify maximum size of icons
  • price: Price filter. Takes the following values
    • empty or any - include all icons
    • nonpremium - include only non-premium

─░nfo

iconfinder.info({id:172625}).exec(function(err,data){
    if(err) throw err
    else console.log(torrent);
});

params

  • id: Icon ID
  • size: Icon size
npm loves you