Live Own Hosting | Web Maintenance
bedfordrugby.co.uk, 80.93.167.112
Installed v8.5.1
C5 Updates Our Responsibility
RFU api - for league tables (and fixtures / results?)
Max Burton - mburton@first-sports.com
Rupert Greenwood - rgreenwood@first-sports.com
Justin Irvine (justin@nn-technology.co.uk) No Nonsense
server admin
https://secure13.host-it.co.uk:8443/login_up.php?success_redirect_url=https%3A%2F%2Fsecure13.host-it.co.uk%3A8443%2Fsmb%2Fdatabase%2Fcreate%2FdomainId%2F922
bedfordr
Justin Backups
php test code...
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, 'https://gms.rfu.com/GMS/api/FirstSportsData/Competition/528/CompetitionSeason/6221/Stage/14569/Group/34699/LeagueTable');
$result = curl_exec($ch);
curl_close($ch);
echo '<h1>API Test</h1><h2>2019/20 League Tables</h2>';
$obj = json_decode($result);
update bold query
CompetitionSeason idstring:
curl_setopt($ch, CURLOPT_URL, 'https://gms.rfu.com/GMS/api/FirstSportsData/Competition/528/CompetitionSeason/');
add id for season to url for Stage
Stage idstring:
curl_setopt($ch, CURLOPT_URL, 'https://gms.rfu.com/GMS/api/FirstSportsData/Competition/528/CompetitionSeason/6221/Stage');
add id for stage for Group
Group idstring:
curl_setopt($ch, CURLOPT_URL, 'https://gms.rfu.com/GMS/api/FirstSportsData/Competition/528/CompetitionSeason/6221/Stage/14569/Group/');
add id for group
And finally... League Table!!
curl_setopt($ch, CURLOPT_URL, 'https://gms.rfu.com/GMS/api/FirstSportsData/Competition/528/CompetitionSeason/6221/Stage/14569/Group/34699/LeagueTable');