kopia lustrzana https://github.com/halcy/Mastodon.py
add module / class stuff
rodzic
10d48d702d
commit
bd3db974d7
|
@ -1,5 +1,7 @@
|
||||||
General information
|
General information
|
||||||
===================
|
===================
|
||||||
|
.. py:module:: mastodon
|
||||||
|
.. py:class: Mastodon
|
||||||
|
|
||||||
Rate limiting
|
Rate limiting
|
||||||
-------------
|
-------------
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
Return values
|
Return values
|
||||||
=============
|
=============
|
||||||
|
.. py:module:: mastodon
|
||||||
|
.. py:class: Mastodon
|
||||||
|
|
||||||
Unless otherwise specified, all data is returned as Python dictionaries, matching
|
Unless otherwise specified, all data is returned as Python dictionaries, matching
|
||||||
the JSON format used by the API. Dates returned by the API are in ISO 8601 format
|
the JSON format used by the API. Dates returned by the API are in ISO 8601 format
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
Error handling
|
Error handling
|
||||||
==============
|
==============
|
||||||
|
.. py:module:: mastodon
|
||||||
|
.. py:class: Mastodon
|
||||||
|
|
||||||
When Mastodon.py encounters an error, it will raise an exception, generally with
|
When Mastodon.py encounters an error, it will raise an exception, generally with
|
||||||
some text included to tell you what went wrong.
|
some text included to tell you what went wrong.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
App registration and user authentication
|
App registration and user authentication
|
||||||
========================================
|
========================================
|
||||||
|
.. py:module:: mastodon
|
||||||
|
.. py:class: Mastodon
|
||||||
|
|
||||||
Before you can use the Mastodon API, you have to register your
|
Before you can use the Mastodon API, you have to register your
|
||||||
application (which gets you a client key and client secret)
|
application (which gets you a client key and client secret)
|
||||||
|
|
Ładowanie…
Reference in New Issue