code: def get_locations():
          
          arequest = requests.get(LOCATIONS_URL, headers=HEADERS)
          status_code = str(arequest.status_code)
          if status_code == '401':
              _LOGGER.error("Token expired.")
              return False
          return arequest.json()
docs: Pull the accounts locations.