Ball By Ball Comments

Introduction

To follow a game Ball By Ball you can easily include comments to your fixture or livescores related request. As you can see below it will only return id so to gain more information you can use nested includes to enricht the dataset.


"balls": [
    {
        "resource": "balls",
        "id": 356921,
        "fixture_id": 9635,
        "team_id": 50,
        "ball": 0.1,
        "scoreboard": "S1",
        "batsman_one_on_creeze_id": 436,
        "batsman_two_on_creeze_id": 25,
        "batsman_id": 436,
        "bowler_id": 461,
        "batsmanout_id": null,
        "catchstump_id": null,
        "wicket_id": 17,
        "batsman": {
            "id": 436,
            "country_id": 98,
            "firstname": "Marcus",
            "lastname": "Harris",
            "fullname": "Marcus Harris",
            "image_path": "https://cdn.sportmonks.com/images/cricket/players/20/436.png",
            "dateofbirth": "1992-07-21",
            "gender": "m",
            "position": {
                "id": 1,
                "name": "Batsman"
            },
            "updated_at": "2018-12-19T16:33:27.000000Z"
        },
        "bowler": {
            "id": 461,
            "country_id": 98,
            "firstname": "Daniel",
            "lastname": "Worrall",
            "fullname": "Daniel Worrall",
            "image_path": "https://cdn.sportmonks.com/images/cricket/players/13/461.png",
            "dateofbirth": "1991-07-10",
            "gender": "m",
            "position": {
                "id": 2,
                "name": "Bowler"
            },
            "updated_at": "2018-12-21T07:16:44.000000Z"
        },
        "batsmanone": {
            "id": 436,
            "country_id": 98,
            "firstname": "Marcus",
            "lastname": "Harris",
            "fullname": "Marcus Harris",
            "image_path": "https://cdn.sportmonks.com/images/cricket/players/20/436.png",
            "dateofbirth": "1992-07-21",
            "gender": "m",
            "position": {
                "id": 1,
                "name": "Batsman"
            },
            "updated_at": "2018-12-19T16:33:27.000000Z"
        },
        "batsmantwo": {
            "id": 25,
            "country_id": 98,
            "firstname": "Aaron",
            "lastname": "Finch",
            "fullname": "Aaron Finch",
            "image_path": "https://cdn.sportmonks.com/images/cricket/players/25/25.png",
            "dateofbirth": "1986-11-17",
            "gender": "m",
            "position": {
                "id": 1,
                "name": "Batsman"
            },
            "updated_at": "2018-11-15T08:27:35.000000Z"
        },
        "score": {
            "id": 17,
            "name": "1 Wide"
        },
        "team": {
            "name": "Melbourne Renegades",
            "code": "MR",
            "image_path": "https://cdn.sportmonks.com/images/cricket/teams/18/50.png",
            "country_id": 98,
            "national_team": false,
            "updated_at": "2018-11-29T11:47:20.000000Z"
        },
        "updated_at": "2019-02-17T03:48:33.000000Z"
    }, //...
]``

Relationship Details

Below you can find the details for this relationship.

Name Value
Relationship: balls
Nested Relationships: No nested relationships available for this endpoint.
Include Example: https://cricket.sportmonks.com/api/v2.0/livescores?include=balls
Callable Via Relationship: true
Relative Relationship Url: /api/v2.0/__PARENT__/__PARENTID__/balls

Questions?

We're always happy to help with code or other questions you might have! Search our documentation, contact support, or get in touch with our sales team.

This article was last updated on 2019-01-30 14:02:19

{{ loginForm.errors.get('email') }}

{{ loginForm.errors.get('password') }}

Remember me?