add module / class stuff

This commit is contained in:
halcy 2022-11-28 01:45:00 +02:00
parent 10d48d702d
commit bd3db974d7
4 changed files with 9 additions and 0 deletions

View File

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

View File

@ -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

View File

@ -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.

View File

@ -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)