Last active
August 10, 2018 14:50
-
-
Save miya/a4f265653606f0d3290c1320f5709893 to your computer and use it in GitHub Desktop.
つーとするやつ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from mastodon import Mastodon | |
while True: | |
toot = input('> ',) | |
mastodon = Mastodon( | |
client_id="app_key.txt", | |
access_token="user_key.txt", | |
url = "https://mstdn.jp") | |
mastodon.toot(toot) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment