app.bsky.feed.getTimeline

Get a view of the requesting account’s home timeline. This is expected to be some form of reverse-chronological feed.

class atproto_client.models.app.bsky.feed.get_timeline.Params

Bases: ParamsModelBase

Parameters model for app.bsky.feed.getTimeline.

field algorithm: str | None = None
field cursor: str | None = None

Cursor.

field limit: int | None = None

Limit.

Constraints:
  • ge = 1

  • le = 100

field since: str | None = None
class atproto_client.models.app.bsky.feed.get_timeline.ParamsDict

Bases: TypedDict

algorithm: NotRequired[str | None]

Variant ‘algorithm’ for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism.

cursor: NotRequired[str | None]

Cursor.

limit: NotRequired[int | None]

Limit.

since: NotRequired[str | None]

Return only items newer than the position identified by this cursor value, newest first. Use the startCursor from a previous response. The item at that position is not returned because the caller already holds it. When the bounded range is exhausted, the returned cursor equals this value so that pagination continues below the boundary.

class atproto_client.models.app.bsky.feed.get_timeline.Response

Bases: ResponseModelBase

Output data model for app.bsky.feed.getTimeline.

field cursor: str | None = None

Cursor.

field feed: List[models.AppBskyFeedDefs.FeedViewPost] [Required]

Feed.

field start_cursor: str | None = None
get_page_items() → List[FeedViewPost]

Get the items of this page.