thesportsdb-client
    Preparing search index...

    Interface Country

    A country (all_countries.php, all/countries). v1 returns only [name] and [flag32].

    interface Country {
        apiFootballId: number | null;
        code: string | null;
        flag16: string | null;
        flag32: string | null;
        flag64: string | null;
        kind: "Country";
        name: string | null;
        nameFr: string | null;
        raw: RawRecord;
    }

    Hierarchy (View Summary)

    Index
    apiFootballId: number | null

    idAPIfootball (v2)

    code: string | null

    code (v2), a two-letter code

    flag16: string | null

    flag_url_16 (v2)

    flag32: string | null

    flag_url_32

    flag64: string | null

    flag_url_64 (v2)

    kind: "Country"
    name: string | null

    name_en. Use this name for country filters.

    nameFr: string | null

    name_fr (v2)

    raw: RawRecord

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