• Register

API Data Dictionary - Result Types

Result Types

Result Types identify the type of the match result.(e.g line 18)

<cricket>
    <match id="2bf02afa-d744-f756-c793-cd7ae43367fd">
        <dateTime>2010-10-08T16:00:00</dateTime> 
        <status>result</status>
        <currentDay>1</currentDay>
        <totalDays>1</totalDays>
        <toss>
            <description>Zimbabwe won the toss and elected to field</description>
            <winner type="field">
                <team id="45df02c4-1a79-eda4-292b-36fae063d8c3">
                    <name>Zimbabwe</name>
                </team>
            </winner>
        </toss>
        <team id="73f5d08d-0950-ca50-796a-a1cdbc9bd602">
            <name>South Africa</name>
            <home>true</home>
        </team>
        <team id="45df02c4-1a79-eda4-292b-36fae063d8c3">
            <name>Zimbabwe</name>
            <home>false</home>
        </team>
        <result type="home-win">
            <description/>
            <winner type="wickets">
                <margin>7</margin>
                <team id="73f5d08d-0950-ca50-796a-a1cdbc9bd602">
                    <name>South Africa</name>
                </team>
            </winner>
        </result>
	...
    </match>
</cricket>    

List of available types for a result..

Type(s) Description
no-result
home-win
draw
away-win
tied
level-scores-draw
abandoned
none

Docs Navigation