Player List By Position Id

Get player list by position id

Request URL

http://fanvictor.com/api/mobile/DraftPlayerList/{api_key}/{user_id}?league_id={league_id}&entry_number={entry_number}&position_id={position_id}

Request Method

GET

Request parameters

api_key
string
Subscription key which provides access to this API.
user_id
interger
User id of account from client site.
league_id
interger
The id of league
entry_number
interger
The number of entry user enter a contest, default 1.
position_id
interger
Position id get from lineup

Sample Code

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://fanvictor.com/api/mobile/DraftPlayerList/{api_key}/{user_id}?league_id={league_id}&entry_number={entry_number}&position_id={position_id}");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$output = curl_exec ($ch);
curl_close ($ch);