#!/usr/bin/env python # encoding: utf-8 ''' This is literally just straight copied from https://mastodonpy.readthedocs.io/en/latest/ but yeah it's gonna eventually be the framework for posting here... Just right now it was a proof of concept for me. TODO: Clean this stuff up. ''' from mastodon import Mastodon mastodon = Mastodon( access_token = '/Users/shadow8t4/.secrets/mastodon_api_access_token.secret', api_base_url = 'https://masto.werefoxsoftware.com' ) mastodon.status_post( 'This is a test post!', visibility='public', spoiler_text='I am testing this.' )