Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $url='https://api.faceit.com/match/v2/match/1-3c85bc06-22da-4604-8a54-8ed69ef30d92';
- $result = get_data($url);
- $matchid = $result[payload][clientCustom][match_id];
- $TeamA_score = $result[payload][clientCustom][team1_score];
- $TeamB_score = $result[payload][clientCustom][team2_score];
- echo("<p>Team 1 Score: ".$TeamA_score."</p>");
- echo("<p>\r\nTeam 2 Score: ".$TeamB_score."</p>");
- echo("Match: ".$matchid);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement