List of all managers ⬜ 🟨 🟦 🟩
This endpoint return with all managers and its data.
This is a paginate call, see instruction inside FAQ
If this entity has has_image
to true, you can access/download the entity media, see the instruction in the FAQ.
The parameter c
must be a country code getted from coutries/list endpoint.
Format CSV is in MS excel compatible mode (double click open without import!)
The latest data are on the last page
Example of code for direct API
PHP Javascript NodeJS Phyton cURL GO
Copy $url = 'https://api.soccerfootball.info/v1/managers/list/?t=TOKEN' ;
$curl = curl_init () ;
curl_setopt_array ( $curl , array(
CURLOPT_URL => $url ,
CURLOPT_PROXY => null ,
CURLOPT_RETURNTRANSFER => true ,
CURLOPT_FOLLOWLOCATION => true ,
CURLOPT_ENCODING => "" ,
CURLOPT_MAXREDIRS => 10 ,
CURLOPT_TIMEOUT => 30 ,
CURLOPT_CUSTOMREQUEST => "GET"
) ) ;
$response = curl_exec ( $curl ) ;
$err = curl_error ( $curl ) ;
curl_close ( $curl ) ;
if ( ! $err) {
$result = json_decode ( $response ) ;
print_r ( $result ) ;
} else {
echo "cURL Error:" . $err;
}
Copy fetch ( "https://api.soccerfootball.info/v1/managers/list/?t=TOKEN" , {
"method" : "GET"
})
. then (response => {
console. log (response);
})
. catch (err => {
console. error (err);
}) ;
Copy const request = require ( 'request' );
const options = {
method : 'GET' ,
url : 'https://api.soccerfootball.info/v1/managers/list/?t=TOKEN'
};
request (options , function (error , response , body) {
if (error) throw new Error (error);
console .log (body);
});
Copy import requests
url = "https://api.soccerfootball.info/v1/managers/list/?t=TOKEN"
response = requests . get (url). json ()
print (response)
Copy curl --request GET \
--url 'https://api.soccerfootball.info/v1/managers/list/?t=TOKEN'
Copy package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main () {
url := "https://api.soccerfootball.info/v1/managers/list/?t=TOKEN"
req, _ := http. NewRequest ( "GET" , url, nil )
res, _ := http.DefaultClient. Do (req)
defer res.Body. Close ()
body, _ := ioutil. ReadAll (res.Body)
fmt. Println (res)
fmt. Println ( string (body))
}
Example of code for RapidAPI
PHP Javascript NodeJS Phyton cURL GO
Copy $url = 'https://soccer-football-info.p.rapidapi.com/managers/list/' ;
$curl = curl_init () ;
curl_setopt_array ( $curl , array(
CURLOPT_URL => $url ,
CURLOPT_PROXY => null ,
CURLOPT_RETURNTRANSFER => true ,
CURLOPT_FOLLOWLOCATION => true ,
CURLOPT_ENCODING => "" ,
CURLOPT_MAXREDIRS => 10 ,
CURLOPT_TIMEOUT => 30 ,
CURLOPT_CUSTOMREQUEST => "GET" ,
CURLOPT_HTTPHEADER => [
"X-RapidAPI-Host: soccer-football-info.p.rapidapi.com" ,
"X-RapidAPI-Key: TOKEN"
] ,
) ) ;
$response = curl_exec ( $curl ) ;
$err = curl_error ( $curl ) ;
curl_close ( $curl ) ;
if ( ! $err) {
$result = json_decode ( $response ) ;
print_r ( $result ) ;
} else {
echo "cURL Error:" . $err;
}
Copy fetch ( "https://soccer-football-info.p.rapidapi.com/managers/list/" , {
"method" : "GET" ,
"headers" : {
"X-RapidAPI-Key" : "TOKEN" ,
"X-RapidAPI-Host" : "soccer-football-info.p.rapidapi.com"
}
})
.then (response => {
console .log (response);
})
.catch (err => {
console .error (err);
});
Copy const request = require ( 'request' );
const options = {
method : 'GET' ,
url : "https://soccer-football-info.p.rapidapi.com/managers/list/" ,
headers : {
"X-RapidAPI-Key" : "TOKEN" ,
"X-RapidAPI-Host" : "soccer-football-info.p.rapidapi.com"
useQueryString: true
}
};
request (options , function (error , response , body) {
if (error) throw new Error (error);
console .log (body);
});
Copy import requests
url = "https://soccer-football-info.p.rapidapi.com/managers/list/"
headers = {
"X-RapidAPI-Key" : "TOKEN" ,
"X-RapidAPI-Host" : "soccer-football-info.p.rapidapi.com"
}
response = requests . request ( "GET" , url, headers = headers)
print (response.text)
Copy curl --request GET \
--url https://soccer-football-info.p.rapidapi.com/managers/list/ \
--header 'X-RapidAPI-Host: soccer-football-info.p.rapidapi.com' \
--header 'X-RapidAPI-Key: TOKEN'
Copy package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main () {
url := "https://soccer-football-info.p.rapidapi.com/managers/list/"
req, _ := http. NewRequest ( "GET" , url, nil )
req.Header. Add ( "X-RapidAPI-Key" , "TOKEN" )
req.Header. Add ( "X-RapidAPI-Host" , "soccer-football-info.p.rapidapi.com" )
res, _ := http.DefaultClient. Do (req)
defer res.Body. Close ()
body, _ := ioutil. ReadAll (res.Body)
fmt. Println (res)
fmt. Println ( string (body))
}