def get_data(url): req_obj = Fetch(url) ret_data = req_obj.get_data() if ret_data is not None: return json.loads(ret_data)