Sports

Get all sports which have events

Request URL

http://fanvictor.com/api/mobile/ExistSports/{api_key}/{user_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.

Sample Code

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