WorldCupOptions

public struct WorldCupOptions : Equatable, Hashable, Codable
extension WorldCupOptions: Sendable

Options for world cup endpoint requests. All fields are optional — omitted fields are not sent to merino.

  • Maximum number of results to return.

    Declaration

    Swift

    public var limit: UInt32?
  • Filter results by team(s) (e.g. ["FRA", "ENG"]).

    Declaration

    Swift

    public var teams: [String]?
  • Language for results (e.g. "en-US"). (Not supported yet)

    Declaration

    Swift

    public var acceptLanguage: String?
  • ISO 8601 date string to filter matches by date (e.g. "2026-06-14").

    Declaration

    Swift

    public var date: String?
  • Declaration

    Swift

    public init(
        /**
         * Maximum number of results to return.
         */limit: UInt32?, 
        /**
         * Filter results by team(s) (e.g. `["FRA", "ENG"]`).
         */teams: [String]?, 
        /**
         * Language for results (e.g. `"en-US"`). (Not supported yet)
         */acceptLanguage: String?, 
        /**
         * ISO 8601 date string to filter matches by date (e.g. `"2026-06-14"`).
         */date: String?)