gab
gab copied to clipboard
A wrapper for the gab.ai API
Thank you for your Gab wrapper. I added a few methods. See if you like it. Thank you!
## Current Behavior ```javascript api.getUser('LyndsySimon') ``` ## Desired Behavior ```javascript api.getUser('LyndsySimon') // OR api.getUser(60129) ```
## Existing Behavior: ```javascript var api = new Gab({ authToken: '' }) ``` ## Desired Behavior ```javascript var api = new Gab({ username: 'LyndsySimon', password: 'NotR3411yMyP4ssw0rd' }) ```
When instantiating a new `Gab` object, passing the option `async: false` should allow the library to function without returning promises. ```javascript var Gab = require('gab.ai').Gab; var api_client = new Gab({...