dev-labs-bg / sportify

Football match prediction game with simple rules, built on Symfony
GNU Affero General Public License v3.0
33 stars 13 forks source link

Use another API #28

Open davidus05 opened 6 years ago

davidus05 commented 6 years ago

Is there a way to use this API here: https://apifootball.com? And how to implement it? Because it also covers games from Germany and Austria, and not only the FIFA Worldcup and so on ...

cmihaylov commented 6 years ago

If you would like to implement a new API for data source, you need to write specific Fetcher and Parser classes for it. Refer to Devlabs\SportifyBundle\Services\DataUpdates\Fetchers and Devlabs\SportifyBundle\Services\DataUpdates\Parsers.