Browse Source

Initial commit

"SQUAWK! Pieces of Eight!"
	new file:   plnowplay.py
	new file:   pytooter_clientcred.secret
	new file:   pytooter_usercred.secret
Mike Holloway 5 months ago
commit
e6abc64bce
3 changed files with 21 additions and 0 deletions
  1. 18
    0
      plnowplay.py
  2. 2
    0
      pytooter_clientcred.secret
  3. 1
    0
      pytooter_usercred.secret

+ 18
- 0
plnowplay.py View File

@@ -0,0 +1,18 @@
1
+from mastodon import Mastodon
2
+
3
+#Mastodon.create_app(
4
+#     'pytooterapp',
5
+#     api_base_url = 'https://crowsnest.libre.audio',
6
+#     to_file = 'pytooter_clientcred.secret'
7
+#)
8
+
9
+mastodon = Mastodon(
10
+    client_id = 'pytooter_clientcred.secret',
11
+    api_base_url = 'https://crowsnest.libre.audio'
12
+)
13
+mastodon.log_in(
14
+    'flint',
15
+    'Unshaved Pampe#er B3urb Cage',
16
+    to_file = 'pytooter_usercred.secret'
17
+)
18
+mastodon.toot('SQUAWK! Pieces of Eight!')

+ 2
- 0
pytooter_clientcred.secret View File

@@ -0,0 +1,2 @@
1
+MRkU_FW84W8xCwa_qY77qDMS9uSPc1GeKQ7lEUlsNsY
2
+dkYz3tCUln8posiA3dtk7KIJdVuMSx18vnALFUhXXCE

+ 1
- 0
pytooter_usercred.secret View File

@@ -0,0 +1 @@
1
+3HM6uI9wjamaC73yAbmwzVK7ctekhH_Dqhv1yBXaUZM

Loading…
Cancel
Save