aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mastodon.py25
-rw-r--r--README.md3
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 @@
1
2# coding: utf-8 1# coding: utf-8
3 2
4# In[293]:
5
6import requests 3import requests
7import os 4import os
8import os.path 5import os.path
9 6
10
11# In[310]:
12
13class Mastodon: 7class Mastodon:
14 """ Super basic but thorough and easy to use mastodon.social 8 """ Super basic but thorough and easy to use mastodon.social
15 api wrapper in python. 9 api wrapper in python.
@@ -304,23 +298,4 @@ class Mastodon:
304 return params 298 return params
305 299
306 300
307# In[311]:
308
309mastodon = Mastodon(client_id = "quasibot_client_credentials.txt", access_token = 'quasibot_user_credentials.txt')
310
311
312# In[312]:
313
314#mastodon.account_relationships(12355)
315mastodon.media_post('D:\\img\\google.png')
316
317
318# In[127]:
319
320
321
322
323# In[ ]:
324
325
326 301
diff --git a/README.md b/README.md
index adef89b..4d467f2 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,5 @@
1# Mastodon.py 1# Mastodon.py
2Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API. 2Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API.
3 3
4Media uploads currently broken, will be fixed Soon. 4Media uploads currently broken, will be fixed Soon. Documentation and usage examples also
5incoming, but the code is heavily commented and usage frankly rather self-explanatory.
Powered by cgit v1.2.3 (git 2.41.0)