$maxdepth = 3; // max depth to parse (1-3) $normal = 1; // parse keywords without suffix $space = 1; // parse keywords with space suffix "keyword " $enalpha = 1; // parse keywords with a-z suffix (english alphabet) $rualpha = 1; // parse keywords with a-ja suffix (russian alphabet) $numalpha = 1; // parse keywords with 0-9 suffix // array of strings - keywords you want to parse + stopwords $keywords = array('wilgood', 'Схема проезда'); $stopwords = array('сервис'); $response = $api->rushapi__create_suggest_project($hash, $name, $google, $yandex, $mail, $google_country, $yandex_region, $maxdepth, $normal, $space, $enalpha, $rualpha, $numalpha, $keywords, $stopwords); /* in variable $response is now either error message or SESSIONID of your newly created project SAVE YOUR SESSIONID for future references to this project (getting status,result file...) ERROR_BAD_USERID - probably bad API key ERROR_IP_NOT_ALLOWED - you have not listed your ip in allowed ips field in your API settings, either leave allowed ips field empty, or add your actual ip ERROR_LOW_BALANCE - you have not enough balance to parse inserted project ERROR_SERVER - error is at our side (please contact us at support@rush-agency.ru */ if (strpos($response, 'ERROR') !== false) { // handle error exit(1); } else { $sessionid = $response; } $status = $api->rushapi__suggest_project_status($hash, $sessionid); print $status;