src/FootballData.php
public function getMatches(array $filter = [ 'competitions' => '', 'dateFrom' => '', 'dateTo' => '', 'status' => '' ])
	{
		$matches = $this->run("v2/matches"."?".http_build_query($filter));
		return collect($matches->matches);
	}
public function getMatches(array $filter = [ 'competitions' => '', 'dateFrom' => '', 'dateTo' => '', 'status' => '' ])
	{
		$matches = $this->run("v2/matches"."?".http_build_query($filter));
		return collect($matches->matches);
	}
public function getMatches ( array $ filter = [ 'competitions' => '' , 'dateFrom' => '' , 'dateTo' => '' , 'status' => '' ] ) { $ matches = $ this -> run ( "v2/matches" . "?" . http_build_query ( $ filter ) ) ; return collect ( $ matches -> matches ) ; }
List matches across (a set of) competitions.

@param array $filter
@return Collection
List matches across ( a set of ) competitions .