8889841cwp-job-board-pro/includes/import-jobs-integration/careerbuilder/class-careerbuilder-jobs-api.php000064400000002007150513244540040042 0ustar00home/clixcotz/gj.clix.co.tz/wp-content/plugins $api_key, 'keyword' => '', 'location' => '', 'jobs_per_page' => 10, 'page' => 1, 'outputjson' => true, ); $args = wp_parse_args($args, $default_args); $jobs = array(); $result = wp_remote_get('https://api.careerbuilder.com/v3/job?' . http_build_query($args, '', '&'), array('timeout' => 10)); if (!is_wp_error($result) && !empty($result['body'])) { $jobs = json_decode($result['body']); } return $jobs; } }