def _execute_get_url(self, request_url, append_sid=True):
<EOL>self._debuglog("<STR_LIT>" + request_url + "<STR_LIT:'>")<EOL>if append_sid:<EOL><INDENT>self._debuglog("<STR_LIT>" +<EOL>self.access_token + "<STR_LIT>")<EOL>request_url = "<STR_LIT>" % (<EOL>request_url, self.access_token)<EOL><DEDENT>try:<EOL><INDENT>resp = self._session.get(request_url)<EOL>self._debuglog("<STR_LIT>" + str(resp.status_code))<EOL>if resp.status_code == <NUM_LIT:200>:<EOL><INDENT>json_data = json.loads(resp.text)<EOL>if json_data["<STR_LIT:success>"]:<EOL><INDENT>self._debuglog("<STR_LIT>")<EOL>self._debuglog(str(json_data))<EOL>return json_data<EOL><DEDENT>else:<EOL><INDENT>if json_data["<STR_LIT:error>"]["<STR_LIT:code>"] in {<NUM_LIT>, <NUM_LIT>, <NUM_LIT>, <NUM_LIT>}:<EOL><INDENT>self._debuglog("<STR_LIT>" +<EOL>str(json_data["<STR_LIT:error>"]["<STR_LIT:code>"]))<EOL>self._session_error = True<EOL><DEDENT>else:<EOL><INDENT>self._debuglog("<STR_LIT>" + resp.text)<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT><DEDENT>except:<EOL><INDENT>return None<EOL><DEDENT>
Function to execute and handle a GET request