def __fetch(self, url, payload):
r = requests.get(url, params=payload, auth=self.auth, verify=self.verify)<EOL>try:<EOL><INDENT>r.raise_for_status()<EOL><DEDENT>except requests.exceptions.HTTPError as e:<EOL><INDENT>raise e<EOL><DEDENT>return r<EOL>
Fetch requests from groupsio API