File: 11_misc.rst

package info (click to toggle)
python-mastodon 2.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,840 kB
  • sloc: python: 9,438; makefile: 206; sql: 98; sh: 27
file content (38 lines) | stat: -rw-r--r-- 820 bytes parent folder | download | duplicates (2)
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
Misc: Markers, reports
======================
.. py:module:: mastodon
    :no-index:
.. py:class: Mastodon

Markers
-------
These functions allow you to interact with the timeline "last read" markers,
to allow for persisting where the user was reading a timeline between sessions
and clients / devices.


Reading
~~~~~~~
.. automethod:: Mastodon.markers_get

Writing
~~~~~~~
.. automethod:: Mastodon.markers_set

Reports
-------

Reading
~~~~~~~
In Mastodon versions before 2.5.0 this function allowed for the retrieval
of reports filed by the logged in user. It has since been removed.

.. automethod:: Mastodon.reports

Writing
~~~~~~~
This function allows you to report a user to the instance moderators as well as to
the users home instance.

.. automethod:: Mastodon.report