PHP code example of team-reflex / valorant-php
1. Go to this page and download the library: Download team-reflex/valorant-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
team-reflex / valorant-php example snippets
$http = new GuzzleHttp\Client();
$valorant = new Valorant($http, 'api_key_here', AccountRegion::AMERICAS(), MatchRegion::AMERICA());
$player = $valorant->fetchAccountByRiot('Kairu#1481');
bash
composer