Timelines
public struct Timelines
Undocumented
-
Retrieves the home timeline.
Declaration
Swift
public static func home(range: RequestRange = .default) -> Request<[Status]>
Parameters
range
The 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
local
Only return statuses originating from this instance.
range
The 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
hashtag
The hashtag.
local
Only return statuses originating from this instance.
range
The bounds used when requesting data from Mastodon.
Return Value
Request for
[Status]
.