From e89c7bda86f132c8ee9d48a0584d32b95bf80d9b Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Wed, 23 Nov 2016 23:33:54 +0100 Subject: Bit of cleanup --- Mastodon.py | 25 ------------------------- README.md | 3 ++- 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/Mastodon.py b/Mastodon.py index f643127..5119688 100644 --- a/Mastodon.py +++ b/Mastodon.py @@ -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[ ]: - - diff --git a/README.md b/README.md index adef89b..4d467f2 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.2.3