https://github.com/iamphytan/wikiquote-twitter-bot
A simple way to tweet famous quotes from Wikiquote
https://github.com/iamphytan/wikiquote-twitter-bot
bot python3 tweepy twitter wikiquote
Last synced: 3 months ago
JSON representation
A simple way to tweet famous quotes from Wikiquote
- Host: GitHub
- URL: https://github.com/iamphytan/wikiquote-twitter-bot
- Owner: IamPhytan
- License: mit
- Created: 2018-06-15T14:39:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T22:12:09.000Z (over 6 years ago)
- Last Synced: 2025-03-15T04:37:25.650Z (3 months ago)
- Topics: bot, python3, tweepy, twitter, wikiquote
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wikiquote Twitter Bot
> A simple way to tweet famous quotes from Wikiquote


## Motivation
I wanted to have a bot that would tweet different quotes from Wikiquote each morning to start the day on a good note.
This small scripts uses Tweepy's [API](https://github.com/tweepy/tweepy) and fredericotdn's
[Wikiquote API](https://github.com/federicotdn/python-wikiquotes) to scan quotes on Wikiquote and tweet them .## Installation
The following steps explain how to configure the script before running it:
1. Clone the repo: `git clone https://github.com/IamPhytan/wikiquote-twitter-bot.git`
2. Download the requirements (or create a `virtualenv` before) : `pip3 install -r requirements.txt`
3. Follow [this tutorial](https://www.pythoncentral.io/introduction-to-tweepy-twitter-for-python/) to get your :
* Consumer key
* Consumer secret
* Access token
* Access token secret
4. Add these values to the [configuration file]
5. Insert in the same [configuration file] the time you want to send quotes and the names of the people who inspire you.
6. Run the script: `python3 main.py`## License
[MIT](https://opensource.org/licenses/MIT)[configuration file]: config.json