Browse Source

Initial commit

"SQUAWK! Pieces of Eight!"
	new file:   plnowplay.py
	new file:   pytooter_clientcred.secret
	new file:   pytooter_usercred.secret
master
Mike Holloway 1 year 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 @@
from mastodon import Mastodon

#Mastodon.create_app(
# 'pytooterapp',
# api_base_url = 'https://crowsnest.libre.audio',
# to_file = 'pytooter_clientcred.secret'
#)

mastodon = Mastodon(
client_id = 'pytooter_clientcred.secret',
api_base_url = 'https://crowsnest.libre.audio'
)
mastodon.log_in(
'flint',
'Unshaved Pampe#er B3urb Cage',
to_file = 'pytooter_usercred.secret'
)
mastodon.toot('SQUAWK! Pieces of Eight!')

+ 2
- 0
pytooter_clientcred.secret View File

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

+ 1
- 0
pytooter_usercred.secret View File

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

Loading…
Cancel
Save