(self, region_id)
Initialize the urls.
Initialize the urls.
Initialize the urls .
def __init__(self, region_id):
        """Initialize the urls."""
        if region_id is None:
            raise TypeError
        self.subdomain = f"rest-{region_id}"
        self.base_url = f"https://{self.subdomain}.{const.BLINK_URL}"
        self.home_url = f"{self.base_url}/homescreen"
        self.event_url = f"{self.base_url}/events/network"
        self.network_url = f"{self.base_url}/network"
        self.networks_url = f"{self.base_url}/networks"
        self.video_url = f"{self.base_url}/api/v2/videos"
        _LOGGER.debug("Setting base url to %s.", self.base_url)
def __init__ ( self , region_id ) : if region_id is None : raise TypeError self . subdomain = f"rest-{region_id}" self . base_url = f"https://{self.subdomain}.{const.BLINK_URL}" self . home_url = f"{self.base_url}/homescreen" self . event_url = f"{self.base_url}/events/network" self . network_url = f"{self.base_url}/network" self . networks_url = f"{self.base_url}/networks" self . video_url = f"{self.base_url}/api/v2/videos" _LOGGER . debug ( "Setting base url to %s." , self . base_url )