Snoocore
A minimal and complete JavaScript driver for the Reddit API.
Quick Start
Install
npm install snoocore
|| bower install snoocore
Examples
Features
All endpoints are supported
Calls are generated from the Reddit API documentation. Undocumented endpoints are supported as well.
No special syntax or fluff
All calls follow the reddit API directly. To use the endpoint GET /api/v1/me
, call:
reddit('/api/v1/me').get()
For routes that take parameters and url parameters, see the basic usage section of the documentation.
Node.js and Browser support
npm install snoocore
|| bower install snoocore
The same syntax can be used in node and in browser based JavaScript. There are a few limitations & restrictions for browser based environments covered in the documentation.
Login Helpers
Both OAuth and Cookie based logins are supported.
Throttling
Rate limiting is built into snoocore but can be adjusted or removed all together in the configuration settings.