🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imgurk

A nodejs module that facilitates simple imgur api access for anonymously grabbing images.

0.0.0
latest
Version published
Maintainers
1
Created

IMGURK

A nodejs module that provides simple access to the imgur api.

Installation

npm install imgurk

Usage

You'll need an imgur Client-ID to use this. Even anonymously. Sign up for API access at imgur api registration.

var imgurk = require('imgurk');
imgurk.img($type, $query, $client-id);

$type:  search

$query: search term

Example

Get the first image from the pickles query search:

imgurk.img('search', 'pickles', 'my-client-id');

Tests

The tests will fail unless you insert your clientId in config.js

Keywords

FAQs

Package last updated on 27 Apr 2013

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