code: def get_top_gainers(self, as_json=False):
          
          url = self.top_gainer_url
          req = Request(url, None, self.headers)
          # this can raise HTTPError and URLError
          res = self.opener.open(req)
          # for py3 compat covert byte file like object to
          # string file like object
          res = byte_adaptor(res)
          res_dict = json.load(res)
          # clean the output and make appropriate type conversions
          res_list = [self.clean_server_response(item) for item in res_dict['data']]
          return self.render_response(res_list, as_json)
docs: :return: a list of dictionaries containing top gainers of the day