Socket
Socket
Sign inDemoInstall

imgurk

Package Overview
Dependencies
47
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

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.


Version published
Maintainers
1
0

Weekly downloads

Readme

Source

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

Last updated on 27 Apr 2013

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc