Skip to content

DarrylD/imgur-node-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imgur anonymous upload in nodejs using the imgur api.

Getting Started

Install the module with: npm install imgur-node-api

var imgur = require('imgur-node-api'),
path = require('path');

imgur.setClientID(myClientID);
imgur.upload(path.join(__dirname, 'someimage.png'),function(err, res){
	console.log(res.data.link); //log the imgur url
});

imgur.upload('http://25.media.tumblr.com/tumblr_md1yfw1Dcz1rsx19no1_1280.png',function(err,res){
	console.log(res.data.link);
});

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

(Nothing yet)

License

Copyright (c) 2013 jamiees2 Licensed under the MIT license.

About

A way to access imgur's api from node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%