Project:\t\tRetrieve data from http:\/\/[login to view URL]
Deliverables:\tXML files containing all the data described below.
\tJava source code to allow the code to be run in the future to get future result data.
Description:\tRetrieve all data from the soccerbase website and return it in XML format which adheres to the supplied XSD file (attached). All result data contained on the website for the leagues below (league section) should be scraped and returned.
\tThe data should be returned in multiple XML files, each file should contain the data for a particular league\/competition and the naming convention should indicate both the competition and time period in which the results relate to. The naming convention should be as follows:
\t\[login to view URL] \u2013 which breaks down as:
-\tYYYY_YY_: Is the year the competition is played so for the example given above the league starts in 2013 and ends in 2014.
-\tXXX_: Is the league code that is to be used for the each league, specified in the league section below.
-\tZ: There will be multiple XML files required in order to obtain all the necessary data so this will be a counter to indicate the sequence of the files.
An example would be [login to view URL] which would contain the earliest result data for the English Premier League, the number of files required to store a competition\u2019s result data will depend on how much data there is. The results should be stored in chronological order.
\t\tSome of the data items that should be included in the file are:
-\tTournament
-\tFixture date
-\tScore
-\tHalf time score
-\tPossession
-\tShots on target
-\tShots off target
-\tCorners
-\tPlayers
-\tSub
The above list is not exhaustive and full details are given in the XSD and an example XML both of which are attached.
Leagues:\t
International
\t\t\tWorld Cup \u2013 WC
\t\t\tEuropean Championships \u2013 Euros
\t\t\tAfrican cup of Nations \u2013 CAN
\t\t\tCopa America \u2013 COPA
\t\t\tConfederations Cup \u2013 Confed
\t\t\tClub world cup - ClubWC
UEFA
\t\t\tChampions League \u2013 CL
\t\t\tEuropa League - EL
English
Premier \u2013 EPL
Championship \u2013 EngChamp
League One \u2013 EngL1
League Two \u2013 EngL2
FA cup \u2013 EFAC
Capital One Cup \u2013 ECOC
\t\tScottish
\t\t\tPremiership \u2013 SPL
\t\t\tChampionship - ScoChamp
\t\t\tLeague One \u2013 ScoL1
\t\t\tLeague Two \u2013 ScoL2
\t\t\tScottish FA cup \u2013 SFAC
\t\t\tScottish League Cup \u2013 SLC
\t\tEuropean leagues
\t\t\tDutch Eredivisie \u2013 Eredivisie
\t\t\tFrench Ligue 1 \u2013 FrenchL1
\t\t\tGerman Bundesliga 1 \u2013 Bundesliga1
\t\t\tItalian Seria A \u2013 SeriaA
\t\t\tSpanish Primera League \u2013 SpanishPrimera
\t\t\tSpanish Segunda League \u2013 SpanishSegunda
\t\t\tCopa del Rey \u2013 SpCopaDelRey
\t\t\tCoppa Italia \u2013 CoppaItalia
\t\t\tFrench cup \u2013 FrenchCup
\t\t\tGerman cup - GermanCup