Lobby

Get all new contests.

Request URL

http://fanvictor.com/api/mobile/Lobby/{api_key}/{user_id}?sport_id={sport_id}&contest_type={contest_type}&all={all}

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.
sport_id
interger
Check id here
contest_type
string
all, headtohead, league
all (Optional)
interger
1: get all game types 0 or empty: get only pickem and playerdraft game types

Sample Code

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