aboutsummaryrefslogblamecommitdiff
blob: e1995fdccd9ffacc7aef549008d8639db51965e7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                             
 









                                                                                           
from mastodon import Mastodon

from config import TOOT_API_BASE_URL, TOOT_CLIENT_SECRET, TOOT_ACCESS_TOKEN, TOOT_CLIENT_ID

'''
https://mastodonpy.readthedocs.io/en/stable/index.html
'''

mastodon_client = Mastodon(client_id=TOOT_CLIENT_ID,
                           client_secret=TOOT_CLIENT_SECRET,
                           api_base_url=TOOT_API_BASE_URL,
                           access_token=TOOT_ACCESS_TOKEN)
Powered by cgit v1.2.3 (git 2.41.0)