aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'toot.py')
-rw-r--r--toot.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/toot.py b/toot.py
new file mode 100644
index 0000000..f1db858
--- /dev/null
+++ b/toot.py
@@ -0,0 +1,11 @@
1from mastodon import Mastodon
2from config import TOOT_API_BASE_URL, TOOT_CLIENT_SECRET, TOOT_ACCESS_TOKEN, TOOT_CLIENT_ID
3
4'''
5https://mastodonpy.readthedocs.io/en/stable/index.html
6'''
7
8mastodon_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)
Powered by cgit v1.2.3 (git 2.41.0)