Skip to content

kingleonide/search-image-google

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 

Repository files navigation

Install module

npm install search-image-google --save

Require module

 let sig = require('search-image-google');

Syntax

sig(query, callback(object))
sig(query, params, callback(object))

Example

sig('Сats', function(images){
  console.log(images.url, images.filetype, images, width, images.height);
});

sig('Rain Wallaper', {color: "gray", size: "l"}, function(images){
  console.log(images.url, images.filetype, images, width, images.height);
}

sig('Banana dance', {filetype: "gif"}, function(images){
  console.log(images.url, images.filetype, images, width, images.height);
}

sig('Northern Lights', {site: "nasa.gov"}, function(images){
  console.log(images.url, images.filetype, images, width, images.height);
}

sig('Northern Lights', {site: "gov"}, function(images){
  console.log(images.url, images.filetype, images, width, images.height);
}

sig('Porn', {size: "l", safe: true}, function(images){
  console.log(images.url, images.filetype, images, width, images.height);
}

sig('Tattoo', {size: "l", type: "lineart"}, function(images){
  console.log(images.url, images.filetype, images, width, images.height);
}

sig('Trump', {size: "l", type: "face"}, function(images){
  console.log(images.url, images.filetype, images, width, images.height);
}

sig('Jake the dog', {filetype: "gif"}, function(images){
  console.log(images.url, images.filetype, images, width, images.height);
}

Documentation

  1. Install
  2. Require
  3. Syntax
  4. Example
  5. Colors
  6. Sizes
  7. Types
  8. Time
  9. License
  10. Filetype
  11. Countries
  12. Site
  13. Safe

Colors

sig('cats', { color: "color"}, function(images){
  console.log(images);
});

sig('cats', { color: "gray"}, function(images){
  console.log(images);
});

sig('cats', { color: "trans"}, function(images){
  console.log(images);
});

⬆ back to top

Sizes

sig('cats', { size: "l"}, function(images){
  console.log(images);
});

sig('cats', { size: "m"}, function(images){
  console.log(images);
});

sig('cats', { size: "i"}, function(images){
  console.log(images);
});

⬆ back to top

Types

sig('cats', { type: "face"}, function(images){
  console.log(images);
});

sig('cats', { type: "photo"}, function(images){
  console.log(images);
});

sig('cats', { type: "clipart"}, function(images){
  console.log(images);
});

sig('cats', { type: "lineart"}, function(images){
  console.log(images);
});

⬆ back to top

Time

sig('cats', { time: "d"}, function(images){
  console.log(images);
});

sig('cats', { time: "w"}, function(images){
  console.log(images);
});

⬆ back to top

License

sig('cats', { license: "fmc"}, function(images){
  console.log(images);
});

sig('cats', { license: "fc"}, function(images){
  console.log(images);
});

sig('cats', { license: "fm"}, function(images){
  console.log(images);
});

sig('cats', { license: "f"}, function(images){
  console.log(images);
});

Filtetype

sig('cats', { filetype: "jpg"}, function(images){
  console.log(images);
});

sig('cats', { filetype: "gif"}, function(images){
  console.log(images);
});

sig('cats', { filetype: "png"}, function(images){
  console.log(images);
});

sig('cats', { filetype: "bmp"}, function(images){
  console.log(images);
});

 sig('cats', { filetype: "svg"}, function(images){
  console.log(images);
});

 sig('cats', { filetype: "webp"}, function(images){
  console.log(images);
});

 sig('cats', { filetype: "ico"}, function(images){
  console.log(images);
});

⬆ back to top

Countries

See Alpha-2 on Country ISO Codes

sig('cats', { country: "FR"}, function(images){
  console.log(images);
});

sig('cats', { license: "AU"}, function(images){
  console.log(images);
});

sig('cats', { license: "DE"}, function(images){
  console.log(images);
});

⬆ back to top

Site

sig('cats', { site: ".gov"}, function(images){
  console.log(images);
});

sig('cats', { site: "nasa.gov"}, function(images){
  console.log(images);
});

⬆ back to top

Safe

sig('cats', { safe: true}, function(images){
  console.log(images);
});

⬆ back to top

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published