Screens tend to keep me awake in the evening so I wondered if I could print out my Twitter home timeline, live, as I read a book in the evening.
Here’s the final project in action:
See my blog post for more extensive documentation and a beginner-friendly explanation of the project.
Tested with: Python 3.5.3, Raspbian GNU/Linux 9 (stretch)
pip3 install -r requirements.txt
Set your Twitter API keys inside config.py
or export them as environmental values.
CONSUMER_KEY
CONSUMER_SECRET
ACCESS_TOKEN
ACCESS_TOKEN_SECRET
If you're using a different printer to POS58 then export the vendor id and product id as environmental values.
ID_VENDOR
ID_PRODUCT
python3 poller.py
MIT.