thesportsdb-client
    Preparing search index...

    Interface Season

    A season of a league (search_all_seasons.php, list/seasons).

    interface Season {
        badge: string | null;
        description: string | null;
        kind: "Season";
        name: string;
        poster: string | null;
        raw: RawRecord;
    }

    Hierarchy (View Summary)

    Index
    badge: string | null

    strBadge (v2, or v1 with badge=1)

    description: string | null

    strDescriptionEN (v2, or v1 with description=1)

    kind: "Season"
    name: string

    strSeason, e.g. 2026-2027

    poster: string | null

    strPoster (v2, or v1 with poster=1)

    raw: RawRecord

    Every field as the API sent it (blank strings as null). Use it for unmodelled fields: team.raw["strKeywords"].