TwitchService
final public class TwitchService
The TwitchService is the client API for interfacing with the Twitch service
see the https://dev.twitch.tv/docs/api/reference/ for refrence on the
available endpoints
-
Undocumented
Declaration
Swift
public init() -
Generic API method for getting a Twitch API result
Declaration
Swift
public func gen<T>(forRequest request: JSONConstructableRequest, completion: @escaping ((Result<T>) -> Void)) where T : Decodable, T : EncodableParameters
requestJSONConstructableRequestrepresenting the data necessary for quering the Twitch API for your endpoint
TwitchService Class Reference