VideoRequest

public struct VideoRequest : JSONConstructableRequest

Get videos request see https://dev.twitch.tv/docs/api/reference/#get-videos for details

  • url

    URL for the request

    Declaration

    Swift

    public let url: URL?
  • Initialize a VideoRequest with the included parameters

    Throws

    throws RequestValidationError.

    Declaration

    Swift

    public init(
        id: [String]?,
        userID: String?,
        gameID: String?,
        after: String? = nil,
        before: String? = nil,
        first: String? = nil,
        language: [String]? = nil,
        period: String? = nil,
        sort: String? = nil,
        type: String? = nil
    ) throws