As part of the OSP project I have written a .NET class library (DLL) which connects to the ECB Play-Cricket API for downloading matches, players, uploading results etc and putting the data into a logical (non P-C!) format.
It also reads TCS import files and creates export files to be read by TCS. If anyone would like to use it please let me know.
Richard
It has the following methods:
P-C
GetAuthSites - gets a list of sites for which your login is authorised
GetFixtures - gets a list of fixtures for the current season
GetHowOut - gets the P-C view of dismissals (Handled the ball still valid!)
GetTeams - gets a list of teams for a particular site
GetMatches - gets a list of matches between two dates
GetClubPlayers - gets a list of players for a particular club/site
GetClubs - gets a list of club sites
GetFixture - gets the full details of a fixture
GetMatch - gets the full details of a match in progress (current score etc)
PutMatch - uploads a match to P-C
TCS
GetMatches - gets a list of matches from the TCS database
CreateMatch - creates a match in the TCS database
GetClubs - gets a list of clubs from the TCS database
GetTeams - gets a list of teams for a club in the database.
GetGrounds - list of grounds
CreateMatchTeam
CreateInnings
CreateMatchPlayer
CreateMatch
CreateClub
GetMatchType
CreatePlayer
CreateGround
GetPlayers
GetCompetition
GetMatchTypes
GetInnings
GetCurrentMatch
TCS ImpEx
CreateMatchXML - creates a TCS import file from a Play-Cricket fixture
ReadMatchXML - reads a TCS export file and converts it to P-C XML for upload.