Socket
Socket
Sign inDemoInstall

@rmp135/imgur

Package Overview
Dependencies
2
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @rmp135/imgur

A Typescript compatible imgur client for node.


Version published
Maintainers
1
Install size
632 kB
Created

Readme

Source

@rmp135/imgur

A Typescript compatible imgur client for node.

Build Status

Getting Started

Install using npm.

npm install @rmp135/imgur

Authorization, searching and image uploading are all supported. Refer to the documentation for more information.

import { Client } from '@rmp135/imgur'

// The client can be initialised with the client_id.

let client = new Client('43652b743b5a7a0')

// Or with full authorization information.

client = new Client({
  access_token: 'be3fb3e75b229254c8a44e41e376bfc01154ba42',
  client_id: '43652b743b5a7a2',
  client_secret: '2817603add0052fc9920bd3896abdd26992cf422',
  refresh_token: '71f0489801d0d6ae906f51ea20ae562b2ef18d42'
})

const images = await client.Gallery.subRedditGalleries('pics')

console.log(images)

Keywords

FAQs

Last updated on 19 Aug 2021

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