code: def make_api_call(self, method, url, json_params=None):
          
  
          url = self.BRANCH_BASE_URI+url
  
          if self.verbose is True:
              print("Making web request: {}".format(url))
  
          if json_params is not None:
              encoded_params = json.dumps(json_params)
              headers = {'Content-Type': 'application/json'}
          else:
              encoded_params = None
              headers = {}
  
          if encoded_params is not None and self.verbose is True:
              print("Params: {}".format(encoded_params))
  
          request = Request(url, encoded_params.encode('utf-8'), headers)
          request.get_method = lambda: method
          response = urlopen(request).read()
          return json.loads(response.decode('utf-8'))
docs: Accesses the branch API
          :param method: The HTTP method
          :param url: The URL
          :param json_params: JSON parameters
          :return: The parsed response