diff options
Diffstat (limited to 'Mastodon.py')
-rw-r--r-- | Mastodon.py | 25 |
1 files changed, 0 insertions, 25 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 | |||
6 | import requests | 3 | import requests |
7 | import os | 4 | import os |
8 | import os.path | 5 | import os.path |
9 | 6 | ||
10 | |||
11 | # In[310]: | ||
12 | |||
13 | class Mastodon: | 7 | class 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 | |||
309 | mastodon = Mastodon(client_id = "quasibot_client_credentials.txt", access_token = 'quasibot_user_credentials.txt') | ||
310 | |||
311 | |||
312 | # In[312]: | ||
313 | |||
314 | #mastodon.account_relationships(12355) | ||
315 | mastodon.media_post('D:\\img\\google.png') | ||
316 | |||
317 | |||
318 | # In[127]: | ||
319 | |||
320 | |||
321 | |||
322 | |||
323 | # In[ ]: | ||
324 | |||
325 | |||
326 | 301 | ||