# Reddit-Wrapper
A very simple wrapper around Reddit's API, built for an on going side project. Currently has a very, very slim API, but as I need it more I'll develop out the API.
Please don't use or rely on this yet - it's still very young and I'm currently constantly tweaking.
Usage
Primary use at the moment is to get listings:
var wrap = new RedditWrapper();
wrap.listing({
subReddit: 'vim',
category: 'new'
}, function(err, resp, body) {
});
It also does caching, although that's only supported through MongoDB right now.
Todo
There's lots missing here. Most importantly:
- all listings just return the first set. Need to be able to page through content
- make the methods return promises, as an alternative to callbacks.