Competition element holds Fixture, Markets, Livescore, OutrightFixture, OutrightLeague, OutrightScore elements. It is structured as follows:
XML Example
<Competition Id="3310" Name="Wolverhampton" Type="1"> <Events> <Event FixtureId="4992683"> ... </Event> </Events> <Competitions Id="1" Name="All" Type="4"> <Events> <Event FixtureId="4992683"> ... </Event> </Events> </Competitions> </Competition>
JSON Example
{ "Competition": { "Id": 3310, "Name": "Wolverhampton", "Type": 1, "Events": [ { "FixtureId": 4992683 } ], "Competitions": [ { "Id": 1, "Name": "All", "Type": 4, "Events": [ { "FixtureId": 4992683 } ] } ] } }
Model
Element | Data Type | Description |
---|---|---|
Competition.Id | int | The Id of the current competition |
Competition.Name | string | The Name of the current competition |
Competition.Type | int | The Type of the competition |
Competition.Events | List of Events |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article