info/info.py

16 lines
202 B
Python

from mastobot import Mastobot
# main
if __name__ == '__main__':
bot = Mastobot()
notifications = bot.mastodon.notifications()
for notif in notifications:
bot.get_data(notif)