Gets info from a given Official API endpoint.

By "towny" we are referring to the data that we receive (balance, registration date etc).

  • Type Parameters

    • T

    Parameters

    Returns Promise<any>