Lineup

Introduction

The lineup include represent an array of player that playing the game for both away anf home team. We provide information about the players as well as information captain and wicketkeeper.

"lineup": [
    {
       "resource": "lineups",        
       "id": 199,
        "country_id": 98,
        "firstname": "Marcus",
        "lastname": "Stoinis",
        "fullname": "Marcus Stoinis",
        "image_path": "https://cdn.sportmonks.com/images/cricket/players/7/199.png",
        "dateofbirth": "1989-08-16",
        "gender": "m",
        "position": {
            "id": 1,
            "name": "Batsman"
        },
        "lineup": {
            "team_id": 51,
            "captain": false,
            "wicketkeeper": false
        },
        "updated_at": "2018-11-16T10:12:32.000000Z"
    },
    {
    "resource": "lineups",        
    "id": 456,
        "country_id": 98,
        "firstname": "Ben",
        "lastname": "Dunk",
        "fullname": "Ben Dunk",
        "image_path": "https://cdn.sportmonks.com/images/cricket/players/8/456.png",
        "dateofbirth": "1987-03-11",
        "gender": "m",
        "position": {
            "id": 3,
            "name": "Wicketkeeper"
        },
        "lineup": {
            "team_id": 51,
            "captain": false,
            "wicketkeeper": false
        },
        "updated_at": "2018-11-21T16:14:10.000000Z"
    },
    {
        "id": 454,
        "country_id": 98,
        "firstname": "Peter",
        "lastname": "Handscomb",
        "fullname": "Peter Handscomb",
        "image_path": "https://cdn.sportmonks.com/images/cricket/players/6/454.png",
        "dateofbirth": "1991-04-26",
        "gender": "m",
        "position": {
            "id": 3,
            "name": "Wicketkeeper"
        },
        "lineup": {
            "team_id": 51,
            "captain": false,
            "wicketkeeper": true
        },
        "updated_at": "2018-12-21T07:14:31.000000Z"
    }, // ...
]

Relationship Details

Below you can find the details for this relationship.

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

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-17 15:25:41

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

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

Remember me?