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.


// .....
"included": [
    {
        "type": "comments",
        "id": "210638",
        "attributes": {
            "fixture_id": 255,
            "team_id": 42,
            "scoreboard": "S1",
            "batsman_id": 204,
            "batsman_one_on_creeze_id": null,
            "batsman_two_on_creeze_id": null,
            "bowler_id": 175,
            "batsmanout_id": null,
            "catchstump_id": null,
            "score_id": 82,
            "updated_at": "2019-01-11T06:01:19+00:00"
        },
    }
]
``

Relationship Details

Below you can find the details for this relationship.

Name Value
Relationship: comments
Nested Relationships:
Include Example: https://cricket.sportmonks.com/api/1/livescores?include=comments
Callable Via Relationship: true
Relative Relationship Url: /api/v1/__PARENT__/__PARENTID__/comments

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?