code: public function getLeagues(array $filter = ['areas' => ''])
  	{
  		$leagues = $this->run("v2/competitions"."?".http_build_query($filter) );
  		return collect($leagues->competitions);
  	}
docs: List all available competitions.
  
  @param array $filter
  @return Collection