aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/01_general.rst')
-rw-r--r--docs/01_general.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/01_general.rst b/docs/01_general.rst
index 556cd63..012a37a 100644
--- a/docs/01_general.rst
+++ b/docs/01_general.rst
@@ -123,6 +123,16 @@ you can also just write
123 123
124and everything will work as intended. 124and everything will work as intended.
125 125
126Snowflake IDs
127~~~~~~~~~~~~~
128Some IDs in Mastodon (such as those for statuses) are Snowflake IDs. These broadly
129correspond to times, with a low resolution, so it is possible to convert a time to
130a Snowflake ID and search for posts between two dates. Mastodon.py will do the
131conversion for you automatically when you pass a `datetime` object as the id.
132
133Note that this functionality will *not* work on anything but Mastodon and forks,
134and that it is somewhat inexact due to the relatively low resolution.
135
126Versioning 136Versioning
127---------- 137----------
128Mastodon.py will check if a certain endpoint is available before doing API 138Mastodon.py will check if a certain endpoint is available before doing API
Powered by cgit v1.2.3 (git 2.41.0)