aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-20 13:49:51 -0800
committerclarkzjw <[email protected]>2023-02-20 13:49:51 -0800
commitf927324709d639adfcd5487c7740e3d60f2246b8 (patch)
tree125b6ec833af57b2ec1813309506dbe6b791b35f /mastodon
parenta099e6cf153ae7155957bb16bc56233d2420288c (diff)
parentf7f99f41e768e6740adbf2ee708488b29fe6265a (diff)
downloadswarm2fediverse-f927324709d639adfcd5487c7740e3d60f2246b8.tar.gz
basic features
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/__init__.py0
-rw-r--r--mastodon/toot.py21
2 files changed, 0 insertions, 21 deletions
diff --git a/mastodon/__init__.py b/mastodon/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/mastodon/__init__.py
+++ /dev/null
diff --git a/mastodon/toot.py b/mastodon/toot.py
deleted file mode 100644
index 2d07f0b..0000000
--- a/mastodon/toot.py
+++ /dev/null
@@ -1,21 +0,0 @@
1from mastodon import Mastodon
2
3'''
4https://mastodonpy.readthedocs.io/en/stable/index.html
5
6Mastodon.create_app(
7 'pytooterapp',
8 api_base_url = 'https://mastodon.social',
9 to_file = 'pytooter_clientcred.secret'
10)
11'''
12
13# mastodon = Mastodon(client_id = 'pytooter_clientcred.secret',)
14# mastodon.log_in(
15# '[email protected]',
16# 'incrediblygoodpassword',
17# to_file = 'pytooter_usercred.secret'
18# )
19
20mastodon = Mastodon(access_token = 'pytooter_usercred.secret')
21mastodon.toot('Tooting from Python using #mastodonpy !') \ No newline at end of file
Powered by cgit v1.2.3 (git 2.41.0)