amoorion_bluesky.base¶
bluesky plugin: the AT Protocol’s XRPC API over HTTP.
Secrets (bluesky/<key>): username (handle or e-mail), password (an app
password, not the account’s), optional uri (the PDS, default
https://bsky.social). Links and tags of a post are appended to its text and
made clickable with facets; posts longer than 300 graphemes are refused
before sending.
Classes
|
Bluesky over the AT Protocol: posts are records in the account's repository. |
- class amoorion_bluesky.base.Bluesky(vault, view=None)[source]¶
Bases:
HttpPluginBluesky over the AT Protocol: posts are records in the account’s repository.
A session is opened on first use, with an app password from the vault.
- property service: str¶
The server; another PDS can be set by the
urisecret.
- read(limit=20)[source]¶
The latest messages, newest first, at most
limit.- Parameters:
limit (int)
- Return type:
list[Message]