Class Country

A class representing a parkrun country.

Hierarchy

  • Country

Constructors

Methods

  • Get the country code for this country.

    Returns

    Country code.

    Returns number

  • Boolean describing weather the specified country is active or not.

    Returns

    country is active?

    Returns boolean

  • Get the site URL for this country.

    Returns

    Site URL

    Example

    country.getSiteURL(); // 'www.parkrun.org.uk
    

    Returns string

  • Get the Language ID for this country.

    Returns

    Language ID.

    Returns number

  • Get the Wiki Name for this country.

    Returns

    Wiki Name.

    Example

    country.getWikiName(); // 'UK'
    

    Returns string

  • Get the Country-Code Top Level Domain (ccTLD) for this country.

    Returns

    ccTLD.

    Example

    country.getCCTLD(); // 'uk'
    

    Returns string

Generated using TypeDoc