hedonodon/MastodonAccountManager.py
2023-03-17 20:06:01 +01:00

7 lines
262 B
Python

from mastodon import Mastodon
class MastodonAccountManager():
"""Initialize the Mastodon account.
"""
def __init__(self):
self.instance = Mastodon(client_id = 'hedonodon_clientcred.secret', access_token = 'hedonodon_usercred.secret')