chitose.app.bsky.feed package

Submodules

chitose.app.bsky.feed.defs module

class chitose.app.bsky.feed.defs.BlockedPost(uri: str, blocked: str)

Bases: Object

to_dict()
class chitose.app.bsky.feed.defs.FeedViewPost(post: PostView, reply: ReplyRef | None = None, reason: ReasonRepost | None = None)

Bases: Object

to_dict()
class chitose.app.bsky.feed.defs.NotFoundPost(uri: str, not_found: str)

Bases: Object

to_dict()
class chitose.app.bsky.feed.defs.PostView(uri: str, cid: str, author: ProfileViewBasic, record: Any, indexed_at: str, embed: View | View | View | View | None = None, reply_count: int | None = None, repost_count: int | None = None, like_count: int | None = None, viewer: ViewerState | None = None, labels: list[Label] | None = None)

Bases: Object

to_dict()
class chitose.app.bsky.feed.defs.ReasonRepost(by: ProfileViewBasic, indexed_at: str)

Bases: Object

to_dict()
class chitose.app.bsky.feed.defs.ReplyRef(root: PostView, parent: PostView)

Bases: Object

to_dict()
class chitose.app.bsky.feed.defs.ThreadViewPost(post: PostView, parent: ThreadViewPost | NotFoundPost | BlockedPost | None = None, replies: list[ThreadViewPost | NotFoundPost | BlockedPost] | None = None)

Bases: Object

to_dict()
class chitose.app.bsky.feed.defs.ViewerState(repost: str | None = None, like: str | None = None)

Bases: Object

to_dict()

chitose.app.bsky.feed.get_author_feed module

chitose.app.bsky.feed.get_likes module

class chitose.app.bsky.feed.get_likes.Like(indexed_at: str, created_at: str, actor: ProfileView)

Bases: Object

to_dict()

chitose.app.bsky.feed.get_post_thread module

chitose.app.bsky.feed.get_posts module

chitose.app.bsky.feed.get_reposted_by module

chitose.app.bsky.feed.get_timeline module

chitose.app.bsky.feed.like module

class chitose.app.bsky.feed.like.Like(subject: StrongRef, created_at: str)

Bases: Record

to_dict()

chitose.app.bsky.feed.post module

class chitose.app.bsky.feed.post.Entity(index: TextSlice, type: str, value: str)

Bases: Object

to_dict()
class chitose.app.bsky.feed.post.Post(text: str, created_at: str, entities: list[Entity] | None = None, facets: list[Facet] | None = None, reply: ReplyRef | None = None, embed: Images | External | Record | RecordWithMedia | None = None)

Bases: Record

to_dict()
class chitose.app.bsky.feed.post.ReplyRef(root: StrongRef, parent: StrongRef)

Bases: Object

to_dict()
class chitose.app.bsky.feed.post.TextSlice(start: int, end: int)

Bases: Object

to_dict()

chitose.app.bsky.feed.repost module

class chitose.app.bsky.feed.repost.Repost(subject: StrongRef, created_at: str)

Bases: Record

to_dict()

Module contents

class chitose.app.bsky.feed.Feed_(service: str, headers: dict[str, str])

Bases: object

get_author_feed(actor: str, limit: int | None = None, cursor: str | None = None)

A view of an actor’s feed.

get_likes(uri: str, cid: str | None = None, limit: int | None = None, cursor: str | None = None)
get_post_thread(uri: str, depth: int | None = None)
get_posts(uris: list[str])

A view of an actor’s feed.

get_reposted_by(uri: str, cid: str | None = None, limit: int | None = None, cursor: str | None = None)
get_timeline(algorithm: str | None = None, limit: int | None = None, cursor: str | None = None)

A view of the user’s home timeline.