def get_main_info(start_time):
    """This is the main method to get response from zoom reports api
    """    
    for api_req_id, api_req_info in reports_api_requests_dict.items():
        api_req = api_req_info['api_req']
        api_req_name = api_req_info['name']
        logging.info("Getting report: {}".format(api_req_info['name']))
        result = zoom.get_report(report_type_suffix=api_req)
        if result is not None:
            next_page_token = result.get('next_page_token')
            results_array_join(result, api_req_id, api_req_name)
        else:
            next_page_token = None
        while next_page_token:
            result = zoom.get_report(
                report_type_suffix=api_req, next_page_token=next_page_token)
            if result is not None:
                next_page_token = result.get('next_page_token')
                results_array_join(result, api_req_id, api_req_name)
            else:
                next_page_token = None
        if check_if_functiontime_is_over(start_time, SCRIPT_EXECUTION_INTERVAL_MINUTES, AZURE_FUNC_MAX_EXECUTION_TIME_MINUTES):
            logging.info('Stopping script because time for execution is over')
            break
This is the main method to get response from zoom reports api
    
Solutions/ZoomReports/Data Connectors/ZoomSentinelConnector/__init__.py