Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Api(accessToken: string, region: string, locale?: string): Api
  • Parameters

    • accessToken: string
    • region: string
    • locale: string = 'en-US'

    Returns Api

Properties

Private headers

headers: {}

Type declaration

    Methods

    Protected delete

    • delete(url: string): Promise<any>

    Protected get

    • get(url: string): Promise<any>

    Protected post

    • post(url: string, data: {}): Promise<any>

    Protected put

    • put(url: string, data?: {}): Promise<any>
    • Parameters

      • url: string
      • Optional data: {}

        Returns Promise<any>

      Generated using TypeDoc