docs: def get_url(url: str) -> Union[dict, int, float, str]:
          '''Perform a GET request for the url and return a dictionary parsed from
          the JSON response.'''
  
          request = Request(url, headers={"User-Agent": "pypeerassets"})
          response = cast(HTTPResponse, urlopen(request))
          if response.status != 200:
              raise Exception(response.reason)
          return json.loads(response.read().decode())