Skip to content

Commit

Permalink
Bit of cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
halcy committed Nov 23, 2016
1 parent 0eca2fe commit e89c7bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
25 changes: 0 additions & 25 deletions Mastodon.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -304,23 +298,4 @@ def __generate_params(self, params, exclude = []):
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[ ]:



3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit e89c7bd

Please sign in to comment.