initial commit

This commit is contained in:
Vanessa McHale
2017-03-10 15:49:05 -06:00
commit 7569921550
4 changed files with 3558 additions and 0 deletions

20
README.md Normal file
View File

@ -0,0 +1,20 @@
# Trump Markov Chain Twitter Bot
Written in python with the aid of markovify and python-twitter.
Put your API keys in a file (e.g. .api-keys-trump) like so:
```
api-key: API_KEY
api-sec: API_SECRET_KEY
tok: TOKEN
tok-sec: SECRET_TOKEN
```
Then run:
```
python markov.py PATH_TO_API_KEYS --text PATH_TO_CORPUS.txt
```
to send one tweet at a time.