• request(parts: string[] | TemplateStringsArray, ...fillers: any[]): Promise<any>
  • Make a request to API v1. Use as a format string function, all fillers will be encoded with encodeURIComponent. For example, "requestpath/${name}" would end up requesting to "path/${encodeURIComponent(name)}".

    Returns

    The parsed JSON data recieved from the API

    Parameters

    • parts: string[] | TemplateStringsArray
    • Rest ...fillers: any[]

    Returns Promise<any>

Generated using TypeDoc