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










                                                                                           
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)