You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dryusdan e0f5ec55d6 add desc 6 years ago first commit 6 years ago add desc 6 years ago

Hour bot with unsplash image

This bot use unsplash image to display it with special hour (morning, lunch, snack...)

How to set up

Install Pillow and requests
pip install Pillow requests
clone it git clone
create secrets/secrets.txt and paste this :

client_id: looooong
client_secret: veryyyy loooong
access_token: toooo loooooong

How to use it

./ -h --help to display help.

usage: [-h] [-p PERIOD] [--no-upload NO_UPLOAD]

optional arguments:
  -h, --help            show this help message and exit
  -p PERIOD, --period PERIOD La période du script [morning | mid-morning | lunch |           snack | apero | diner | night]
  --no-upload NO_UPLOAD Don't upload image