Draft Lineup

Get lineup information of draft game type

Request URL

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

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.

Sample Code

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