observation-js Documentation - v1.16.0
    Preparing search index...

    Class Countries

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Fetches the list of all countries. The names of the countries will be returned in the language set on the client (default: 'en'). This is a public endpoint and does not require authentication.

      Note: because all countries are always returned, the response does not contain a count key (hence CountryList rather than Paginated).

      Returns Promise<CountryList>

      A promise that resolves to the list of country objects.

      If the request fails.