diff options
author | clarkzjw <[email protected]> | 2023-02-20 13:49:51 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-20 13:49:51 -0800 |
commit | f927324709d639adfcd5487c7740e3d60f2246b8 (patch) | |
tree | 125b6ec833af57b2ec1813309506dbe6b791b35f /toot.py | |
parent | a099e6cf153ae7155957bb16bc56233d2420288c (diff) | |
parent | f7f99f41e768e6740adbf2ee708488b29fe6265a (diff) | |
download | swarm2fediverse-f927324709d639adfcd5487c7740e3d60f2246b8.tar.gz |
basic features
Diffstat (limited to 'toot.py')
-rw-r--r-- | toot.py | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ | |||
1 | from mastodon import Mastodon | ||
2 | from config import TOOT_API_BASE_URL, TOOT_CLIENT_SECRET, TOOT_ACCESS_TOKEN, TOOT_CLIENT_ID | ||
3 | |||
4 | ''' | ||
5 | https://mastodonpy.readthedocs.io/en/stable/index.html | ||
6 | ''' | ||
7 | |||
8 | mastodon_client = Mastodon(client_id=TOOT_CLIENT_ID, | ||
9 | client_secret=TOOT_CLIENT_SECRET, | ||
10 | api_base_url=TOOT_API_BASE_URL, | ||
11 | access_token=TOOT_ACCESS_TOKEN) | ||