Timelines
public struct Timelines
Undocumented
-
Retrieves the home timeline.
Declaration
Swift
public static func home(range: RequestRange = .default) -> Request<[Status]>Parameters
rangeThe bounds used when requesting data from Mastodon.
Return Value
Request for
[Status]. -
Retrieves the public timeline.
Declaration
Swift
public static func `public`(local: Bool? = nil, range: RequestRange = .default) -> Request<[Status]>Parameters
localOnly return statuses originating from this instance.
rangeThe bounds used when requesting data from Mastodon.
Return Value
Request for
[Status]. -
Retrieves a tag timeline.
Declaration
Swift
public static func tag(_ hashtag: String, local: Bool? = nil, range: RequestRange = .default) -> Request<[Status]>Parameters
hashtagThe hashtag.
localOnly return statuses originating from this instance.
rangeThe bounds used when requesting data from Mastodon.
Return Value
Request for
[Status].
View on GitHub
Install in Dash
Timelines Structure Reference