async def get_location_name(self):
    'Get JSON location name from BOM API endpoint.'
    url = (BASE_URL + LOCATIONS_URL.format(self.geohash))
    async with aiohttp.ClientSession() as session:
        response = (await session.get(url))
    if ((response is not None) and (response.status == 200)):
        locations_data = (await response.json())
        self.location_name = locations_data['data']['name']
        return True
Get JSON location name from BOM API endpoint.
async def get_location_name(self):
    
    url = (BASE_URL + LOCATIONS_URL.format(self.geohash))
    async with aiohttp.ClientSession() as session:
        response = (await session.get(url))
    if ((response is not None) and (response.status == 200)):
        locations_data = (await response.json())
        self.location_name = locations_data['data']['name']
        return True