aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2016-11-24 03:07:07 +0100
committerLorenz Diener <[email protected]>2016-11-24 03:07:07 +0100
commitd47b079a0417b386a3208f8a8c9d2056bdf3a8e5 (patch)
tree9ca42ba7102ff4ee89fb2cce99f1454c095872c8
parent04406738f2a99f8acc8c7edb8c552712a12e4d0a (diff)
downloadmastodon.py-d47b079a0417b386a3208f8a8c9d2056bdf3a8e5.tar.gz
Docs linked
-rw-r--r--README.md13
-rw-r--r--docs/index.rst3
2 files changed, 13 insertions, 3 deletions
diff --git a/README.md b/README.md
index 4d467f2..a26a10d 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,14 @@
1# Mastodon.py 1# Mastodon.py
2
3 mastodon = Mastodon(
4 client_id = 'pytooter_clientcred.txt',
5 access_token = 'pytooter_usercred.txt'
6 )
7 mastodon.toot('Tooting from python!')
8
9
2Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API. 10Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API.
3 11
4Media uploads currently broken, will be fixed Soon. Documentation and usage examples also 12Full documentation and usage example can be found at http://mastodonpy.readthedocs.io/en/latest/ .
5incoming, but the code is heavily commented and usage frankly rather self-explanatory. 13
14Media uploads currently broken, will be fixed Soon.
diff --git a/docs/index.rst b/docs/index.rst
index 06c3678..d5e3402 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -118,7 +118,8 @@ Writing data: Media
118------------------- 118-------------------
119This function allows you to upload media to Mastodon. Except it 119This function allows you to upload media to Mastodon. Except it
120doesn't, because it is currently broken. But it will. 120doesn't, because it is currently broken. But it will.
121.. automethod:: media_post 121
122.. automethod:: Mastodon.media_post
122 123
123.. _Mastodon: https://github.com/Gargron/mastodon 124.. _Mastodon: https://github.com/Gargron/mastodon
124.. _Mastodon flagship instance: http://mastodon.social/ 125.. _Mastodon flagship instance: http://mastodon.social/
Powered by cgit v1.2.3 (git 2.41.0)