Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


Statistics on imgur.js

Number of watchers on Github 15
Number of open issues 1
Average time to close an issue 7 months
Main language JavaScript
Average time to merge a PR 1 day
Open pull requests 0+
Closed pull requests 3+
Last commit over 2 years ago
Repo Created over 4 years ago
Repo Last Updated over 1 year ago
Size 254 KB
Organization / Authorimgur
Contributors7
Page Updated
Do you use imgur.js? Leave a review!
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating imgur.js for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

imgur.js

A Javascript client for the Imgur API.

You must register your client with the Imgur API, and provide the Client-ID to make any request to the API (see the Authentication note). If you want to perform actions on accounts, the user will have to authorize your application through OAuth2.

Imgur API Documentation

Our developer documentation can be found here.

Community

The best way to reach out to Imgur for API support would be our Google Group, Twitter, or via api@imgur.com.

Building the Project

  • npm install
  • npm install -g gulp
  • npm run test to run tests
  • npm run build for built library files imgur.min.js and imgur.js

Using the Project

  • var Imgur = require('imgur');
  • var imgurInstance = Imgur(<API CLIENT ID>, <OPTIONAL BEARER ID>);

Available Endpoints

All functions return a Promise

  • imgurInstance.image.get(imageHash)
  • imgurInstance.oauth2.get(tokenType)
  • imgurInstance.oauth2.refresh(tokenType, clientSecret)
  • imgurInstance.topics.get(topicId, topicSort, page)
  • imgurInstance.gallery.get(section, sort, page, showViral)
  • imgurInstance.gallery.post.get(postId)
  • imgurInstance.gallery.post.comments.get(postId, sort)
imgur.js open issues Ask a question     (View All Issues)
  • about 4 years Update superagent-bluebird-promise
imgur.js list of languages used
Other projects in JavaScript