Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Twitter bot tweeting how many days and weeks there are left this year! πŸ“†

License

Notifications You must be signed in to change notification settings

amadejpapez/EndOfYearCountdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

65 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

End of Year Countdown


Twitter bot written in Python 🐍

Counting how many days and weeks there are left this year πŸ“†


Was running on a Twitter account @EndOfYearCount
from February 1, 2020 to September 18, 2022



🦾 How does it work?

It gets info like current date, month, year, which year is next and so on. Then it calculates how many days and weeks there are till the end of the year.

If current day is Monday, start of a week, it will make a tweet which week number is starting and how many days and weeks there are left this year.

Special tweets are set for New Year and Christmas. There were more tweets but were removed, so the bot did not tweet too often.

For communication with Twitter I am using a Python library Tweepy, and for running the bot daily, a Scheduled Tasks feature on PythonAnywhere.

About

Twitter bot tweeting how many days and weeks there are left this year! πŸ“†

Topics

Resources

License

Stars

Watchers

Forks

Languages