src/FootballData.php
public function getLeague(int $leagueID, array $filter = ['areas' => ''])
	{
		$league = $this->run("v2/competitions/{$leagueID}"."?".http_build_query($filter));
		return collect($league);
	}
public function getLeague(int $leagueID, array $filter = ['areas' => ''])
	{
		$league = $this->run("v2/competitions/{$leagueID}"."?".http_build_query($filter));
		return collect($league);
	}
public function getLeague ( int $ leagueID , array $ filter = [ 'areas' => '' ] ) { $ league = $ this -> run ( "v2/competitions/{$leagueID}" . "?" . http_build_query ( $ filter ) ) ; return collect ( $ league ) ; }
List one particular competition.

@param integer $leagueID
@param array $filter
@return Collection
List one particular competition .