Sport results presenter - BOutsourcing/boutsourcing.github.io GitHub Wiki
Sports results presenter
General information's:
The task should be completed using the newest Angular framework.
You should use https://soccersapi.com as a data source ( You should signup, create a new API key - all of that is available in the free plan ).
The data source should be easy to switch, because in the future maybe we will decide that some other results provider is better ( Means that we should be able to switch API data source without big refactors and changes to current implementation ).
Task:
Create a page that will display match results for today (live matches, played matches, matches that should be played - We suggest https://api.soccersapi.com/v2.2/livescores/?user=null&token=null&t=today endpoint ) ( Note: if there are no results you are free to choose any other endpoint from the Livescore section ).
Results should be displayed in a table, following information's should be present:
Home team name
Away team name
League name
League country
Game Status ( Live, Not started, Finished )
Match date and time
Home score ( current )
Away score ( current )
If the match is finished, we should see half time score.
Dates and times should be in a human-readable format.
Results should be refreshed every minute, so we can get fresh information's about matches.
You should consider that matches can be shown on other pages too (for example we can have a league page where we display results for the league for the current stage ) ( Note: you should not implement any other page besides today's results page ).