getRegion

Return logged user region.

This method only works if class is initialized using email and password.

Usage

  const region = await connection.getRegion();
  console.log(region);

* Remember to instantiate class before use

Response example

  {
    email: 'user@email.com',
    region: 'us'
  }
Last update on: November 11th, 2019