Bot that gets raps for pairs of things as suggested by Google autocomplete.
JavaScript Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.eslintignore
.eslintrc.js
.gitignore
Makefile
README.md
autocompleterap.js
filtersuggestions.js
getfilelineoffsets.js
getreliabletemplate.js
package-lock.json
package.json
pairrapper.js
templatelineoffsets.json
templates.txt

README.md

autocompleterap

Gets raps for pairs of things as suggested by Google autocomplete.

Installation

Clone this repo.

Then, create a config.js file in the project root that contains your Twitter API keys and your Wordnik API key. Example:

module.exports = {
  twitter: {
    consumer_key: 'asdfkljqwerjasdfalpsdfjas',
    consumer_secret: 'asdfasdjfbkjqwhbefubvskjhfbgasdjfhgaksjdhfgaksdxvc',
    access_token: '9999999999-zxcvkljhpoiuqwerkjhmnb,mnzxcvasdklfhwer',
    access_token_secret: 'opoijkljsadfbzxcnvkmokwertlknfgmoskdfgossodrh'
  },
  wordnikAPIKey: 'mkomniojnnuibiybvuytvutrctrxezewarewetxyfcftvuhbg'
};

Usage

make run

Tests

Run tests with make test.

License

MIT.