This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Nette integration of's API.

0.2.0 2016-06-11 10:14 UTC

This package is not auto-updated.

Last update: 2021-09-18 03:05:01 UTC


Nette basic integration of's API.


The best way to install NatocTo/FootballData is using the Composer

$ composer require natocto/football-data

and you can enable the extension using your neon config

	footballData: NatocTo\FootballData\DI\FootballDataExtension

if you want increase your rate limit from 50 requests per day to 50 requests per minute you can get your free token from

	authToken: 'YOUR-TOKEN'

example of usage

class FootballPresenter extends Nette\Application\UI\Presenter
	 * @inject
	 * @var \NatocTo\FootballData\FootballData
	public $footballData;

	public function renderDefault()
		$euro2016 = $this->footballData->getSeason(424);

		$this->template->name = $euro2016->getName();

		$this->template->fixtures = $euro2016->getFixtures();


There is no documentation. Just look to source code if you are interested.