Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pipebits/image-search-engine
Node module that lets you get images urls of any query
https://github.com/pipebits/image-search-engine
Last synced: about 1 month ago
JSON representation
Node module that lets you get images urls of any query
- Host: GitHub
- URL: https://github.com/pipebits/image-search-engine
- Owner: pipebits
- License: mit
- Created: 2021-05-01T04:38:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-18T15:04:55.000Z (over 3 years ago)
- Last Synced: 2024-11-08T18:54:06.068Z (about 1 month ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# IMAGE SEARCH ENGINE
This module allows you to easily find the URL of images of any query as well as filtering between size, colors and types of images (You do not need a google API-key)
# Installation
To do the installation correctly you need to have [node](https://nodejs.org/en/) installed
```
npm:
npm i discord-image-finder
```## Usage
```js
const image_finder = require("image-search-engine")
```
```js
async function printUrl(query){
console.log(await image_finder.find(query))
}
//This will return an image url
```
```js
console.log(await image_finder.find("Pink Elephant", {size: "large", color: "pink"}))
//This will return an image of a pink elephant
```
## Options
**Query**: Query to search **default**: none
**Size** (optional): Image size **default**: all
**Color** (optional): Color of the images **default**: all
**Type** (optional): Type of the images **default**: all
### Constraints :
#### Size:
> **Large** | **Medium** | **Small**
#### Color:
>**b&w**: Black & White | **transparent** | **red** | **orange** | **yellow** | **green** | **teal** | **blue** | **purple** | **pink** | **white** | **gray** | **black** | **brown**
#### Type:
>**cp**: Clip Art
>**ld**: Line Art
>**gf**: Gif (It will get the first frame of the gif)