Created
November 10, 2022 22:38
-
-
Save andypiper/a0db12dd3c949c63447ad5826263acca to your computer and use it in GitHub Desktop.
Mastodon code scribbles
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 | |
mast = Mastodon(client_id='key',client_secret='secret',access_token='token',api_base_url='https://mastodon.social') | |
me = mast.me() | |
print(f"Followers: {me.followers_count}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment