aboutsummaryrefslogtreecommitdiff
blob: 35b3c5d04d26c2bcd9dd62b287fee5d8134b6e74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Instance-wide data and search
=============================
.. py:module:: mastodon
.. py:class: Mastodon

Instance information
--------------------
These functions allow you to fetch information associated with the
current instance as well as data from the instance-wide profile directory.

.. _instance():
.. automethod:: Mastodon.instance
.. automethod:: Mastodon.instance_activity
.. automethod:: Mastodon.instance_peers
.. automethod:: Mastodon.instance_health
.. automethod:: Mastodon.instance_nodeinfo
.. automethod:: Mastodon.instance_rules

Profile directory
~~~~~~~~~~~~~~~~~
.. automethod:: Mastodon.directory

Emoji
~~~~~
.. automethod:: Mastodon.custom_emojis

Announcements
-------------
These functions allow you to fetch announcements, mark annoucements read and modify reactions.

Reading
~~~~~~~
.. automethod:: Mastodon.announcements

Writing
~~~~~~~
.. automethod:: Mastodon.announcement_dismiss
.. automethod:: Mastodon.announcement_reaction_create
.. automethod:: Mastodon.announcement_reaction_delete

Trends
------
These functions, when enabled, allow you to fetch trending tags, statuses and links.

.. _trending_tags():
.. automethod:: Mastodon.trending_tags
.. _trending_statuses():
.. automethod:: Mastodon.trending_statuses
.. _trending_links():    
.. automethod:: Mastodon.trending_links
.. automethod:: Mastodon.trends

Search
------
These functions allow you to search for users, tags and, when enabled, full text, by default within your own posts and those you have interacted with.

.. automethod:: Mastodon.search
.. automethod:: Mastodon.search_v2
Powered by cgit v1.2.3 (git 2.41.0)