Copyright 2024 © Fixerkit.com
Follow @fixerkit
// Example : /api/v1.0/rankTracker/searchEngines $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/searchEngines?access_token=xxx"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch);
// Example : /api/v1.0/rankTracker/projects $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/projects?access_token=xxx"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch);
// Example : /api/v1.0/rankTracker/project // projectId : The unique id given by Fixerkit $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/project/projectId?access_token=xxx"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch);
// Example : /api/v1.0/rankTracker/add $post = array( "title" => "Fixerkit for Developers", "engine" => "engineId", /* From searchEngines() */ "domain" => "example.com", "opponent" => array( "example1.com","example2.com" ), ); $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/add?access_token=xxx"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post)); $response = curl_exec($ch); curl_close($ch);
// Example : /api/v1.0/rankTracker/delete/projectId // projectId : The unique id given by Fixerkit $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/delete/projectId?access_token=xxx"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch);
// Example : /api/v1.0/rankTracker/addKeyword/projectId // projectId : The unique id given by Fixerkit $post = array( "keywords" => array( "keyword 1","keyword 2" ), ); $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/addKeyword/projectId?access_token=xxx"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post)); $response = curl_exec($ch); curl_close($ch);
// Example : /api/v1.0/rankTracker/deleteKeyword/projectId // projectId : The unique id given by Fixerkit $post = array( "ids" => array( "keywordId", /* From project() */ "keywordId" /* From project() */ ), ); $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/deleteKeyword/projectId?access_token=xxx"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post)); $response = curl_exec($ch); curl_close($ch);