예제 #1
0
 /**
  * Retrieve a single match record for a tournament.
  *
  * @param  string $tournament
  * @param  string $match
  * @return array
  */
 public function getMatch($tournament, $match)
 {
     $response = Guzzle::get("tournaments/{$tournament}/matches/{$match}");
     $match = new Match($response->match);
     $match->tournament_slug = $tournament;
     return $match;
 }