Bit of cleanup

This commit is contained in:
Lorenz Diener 2016-11-23 23:33:54 +01:00
parent 0eca2feb93
commit e89c7bda86
2 changed files with 2 additions and 26 deletions

View File

@ -1,15 +1,9 @@
# coding: utf-8
# In[293]:
import requests
import os
import os.path
# In[310]:
class Mastodon:
""" Super basic but thorough and easy to use mastodon.social
api wrapper in python.
@ -304,23 +298,4 @@ class Mastodon:
return params
# In[311]:
mastodon = Mastodon(client_id = "quasibot_client_credentials.txt", access_token = 'quasibot_user_credentials.txt')
# In[312]:
#mastodon.account_relationships(12355)
mastodon.media_post('D:\\img\\google.png')
# In[127]:
# In[ ]:

View File

@ -1,4 +1,5 @@
# Mastodon.py
Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API.
Media uploads currently broken, will be fixed Soon.
Media uploads currently broken, will be fixed Soon. Documentation and usage examples also
incoming, but the code is heavily commented and usage frankly rather self-explanatory.