add module / class stuff

pull/285/head
halcy 2022-11-28 01:45:00 +02:00
rodzic 10d48d702d
commit bd3db974d7
4 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -1,5 +1,7 @@
General information
===================
.. py:module:: mastodon
.. py:class: Mastodon
Rate limiting
-------------

Wyświetl plik

@ -1,5 +1,7 @@
Return values
=============
.. py:module:: mastodon
.. py:class: Mastodon
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

Wyświetl plik

@ -1,5 +1,8 @@
Error handling
==============
.. py:module:: mastodon
.. py:class: Mastodon
When Mastodon.py encounters an error, it will raise an exception, generally with
some text included to tell you what went wrong.

Wyświetl plik

@ -1,5 +1,7 @@
App registration and user authentication
========================================
.. py:module:: mastodon
.. py:class: Mastodon
Before you can use the Mastodon API, you have to register your
application (which gets you a client key and client secret)