Matches Lineups
This endpoint allows you to retrieve the lineups from matches.
With this endpoint you can see the lineups from the match. This endpoint also has confirmed
filed to check if the lineup is confirmed.
Fields in lineup:
Field | Explanation |
---|---|
formation | The formation of the lineup |
player_color_primary | The primary color of the players |
player_color_number | The number color of the players |
player_color_outline | The outline color of the players |
goalkeeper_color_primary | The primary color of the goalkeeper |
goalkeeper_color_number | The number color of the goalkeeper |
goalkeeper_color_outline | The outline color of the goalkeeper |
players | The players of the lineup |
Fields in players:
Field | Explanation |
---|---|
player_id | The id of the player |
shirt_number | The shirt number of the player |
jersey_number | The jersey number of the player |
position | The position of the player |
substitute | If the player is substituted |
Resons for missing the match:
Id | Reason |
---|---|
0 | Other |
1 | Injured |
2 | Ill |
3 | Suspended |
11 | YellowCard |
12 | YellowRedCard |
13 | RedCard |
21 | OnLoan |
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every 5 minutes. Recommended Calls: Limit calls to 1 every 5 minutes.
Use Cases
Get lineups based on the idhttps://rugby.sportdevs.com/matches-lineups?id=eq.{id}
Query Parameters
- id integer
Default value:
eq.1
The id of the lineup
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- id integer
The id of the lineup
Note: This is a Primary Key.
- confirmed boolean
If the lineup is confirmed
- home_team jsonb
The lineup of the home team
- away_team jsonb
The lineup of the away team
[
{
"id": 1,
"confirmed": true,
"home_team": {
"players": [
{
"player_id": 39609,
"substitute": false,
"player_name": "Jonathan Sexton",
"shirt_number": 10,
"jersey_number": "10",
"player_hash_image": "97d11898f5426907a70085d00c213049ac1acc9365c5afffb122b34ea587679c",
"player_statistics_id": 237
},
{
"player_id": 40161,
"substitute": true,
"player_name": "Jack Conan",
"shirt_number": 20,
"jersey_number": "20",
"player_hash_image": "50527c6ad8990b66570d8e6dd66b22952878df1767634303bdf246373f852cc8",
"player_statistics_id": 248
},
{
"player_id": 40887,
"substitute": true,
"player_name": "Conor Murray",
"shirt_number": 21,
"jersey_number": "21",
"player_hash_image": "76592e7622e04351af7d10078cf14789fdc2e24b30292221f8bedc65ebafc00f",
"player_statistics_id": 258
},
{
"player_id": 41128,
"substitute": false,
"player_name": "Tadhg Furlong",
"shirt_number": 3,
"jersey_number": "3",
"player_hash_image": "118e5b436bd392b48a4cae52fabf60fdc3d3f49b125d4943771265f6983d82d2",
"player_statistics_id": 217
},
{
"player_id": 41722,
"substitute": false,
"player_name": "Peter O'Mahony",
"shirt_number": 6,
"jersey_number": "6",
"player_hash_image": "d1aa773ff3b5a05639ddc994d45f29188f187229e18725784e1c5f6eb19a1747",
"player_statistics_id": 229
},
{
"player_id": 42427,
"substitute": false,
"player_name": "Gary Ringrose",
"shirt_number": 13,
"jersey_number": "13",
"player_hash_image": "834ae6355e76920f520ad4eb270126792cc38d5aeee791aa4f9f6c19ed7ed6a4",
"player_statistics_id": 234
},
{
"player_id": 42927,
"substitute": true,
"player_name": "Dave Kilcoyne",
"shirt_number": 17,
"jersey_number": "17",
"player_hash_image": "e01d16ffe71424adb1f37e34674462ed5ea3641960fdc7ad7862aba98b4c8666",
"player_statistics_id": 255
},
{
"player_id": 44086,
"substitute": false,
"player_name": "Josh Van Der Flier",
"shirt_number": 7,
"jersey_number": "7",
"player_hash_image": "ad6ae78e832574a701881feb95b79724017c0d815d3871e07b57239a855356e6",
"player_statistics_id": 243
},
{
"player_id": 44646,
"substitute": false,
"player_name": "Andrew Porter",
"shirt_number": 1,
"jersey_number": "1",
"player_hash_image": "7899284fca466aa8130343fb898b379c602a24013801b7c7beeca307631a73cb",
"player_statistics_id": 231
},
{
"player_id": 45584,
"substitute": false,
"player_name": "Tadhg Beirne",
"shirt_number": 4,
"jersey_number": "4",
"player_hash_image": "1e64ea6f7380dc79809b812f734dce7302bc424983c69a8f25aa9b6a1b75448c",
"player_statistics_id": 213
},
{
"player_id": 47165,
"substitute": true,
"player_name": "James Ryan",
"shirt_number": 19,
"jersey_number": "19",
"player_hash_image": "c1ace9ff059c1e5e51973e7afae4da96226fb5d82c3a58407cf18731ce77e919",
"player_statistics_id": 260
},
{
"player_id": 48001,
"substitute": false,
"player_name": "Hugo Keenan",
"shirt_number": 15,
"jersey_number": "15",
"player_hash_image": "57d2831722bc39d2b13a77ebd005cea3430da23ecc1b59bcade03c1ce4d4827a",
"player_statistics_id": 225
},
{
"player_id": 51253,
"substitute": true,
"player_name": "Jack Crowley",
"shirt_number": 22,
"jersey_number": "22",
"player_hash_image": "cc191a1ea4b050d522618c35fff910df87943c0398c2df1772e41569b54b7ee6",
"player_statistics_id": 251
},
{
"player_id": 52664,
"substitute": false,
"player_name": "Caelan Doris",
"shirt_number": 8,
"jersey_number": "8",
"player_hash_image": "e951166babccc61820b49ea684cb254233075ec5623d194516a18ce91a2d0bac",
"player_statistics_id": 215
},
{
"player_id": 53836,
"substitute": true,
"player_name": "Ronan Kelleher",
"shirt_number": 16,
"jersey_number": "16",
"player_hash_image": "d222069bb54f3b70dc1d4880ef99864260b4890fcfd31172cc715534a5557897",
"player_statistics_id": 253
},
{
"player_id": 55262,
"substitute": false,
"player_name": "Dan Sheehan",
"shirt_number": 2,
"jersey_number": "2",
"player_hash_image": "aab973cfe4322119cfb90f3ffc3c34ecaf9aaed782ff6cbaf5d35fe3fc22e0df",
"player_statistics_id": 240
},
{
"player_id": 72580,
"substitute": false,
"player_name": "Bundee Aki",
"shirt_number": 12,
"jersey_number": "12",
"player_hash_image": "c4f0be126a68a5fd5493d60eb4893b76a9538e2fcbd4fa49e989d410de3cdfd4",
"player_statistics_id": 211
},
{
"player_id": 72842,
"substitute": true,
"player_name": "Stuart McCloskey",
"shirt_number": 23,
"jersey_number": "23",
"player_hash_image": "b88ba4f6a7c9531cd78a08cca6f44227d56b4ce3aa4e1efa8f35da560bf4653b",
"player_statistics_id": 257
},
{
"player_id": 73313,
"substitute": false,
"player_name": "Iain Henderson",
"shirt_number": 5,
"jersey_number": "5",
"player_hash_image": "aa4aa08873f5449024a339ac28c8565a67a9eb28e90bc13ec1a7e9576526a3c2",
"player_statistics_id": 223
},
{
"player_id": 73702,
"substitute": false,
"player_name": "James Lowe",
"shirt_number": 11,
"jersey_number": "11",
"player_hash_image": "86c42e1ff07a72fbe4cf05a6095580137e60632ac01304659ad7a06c362de881",
"player_statistics_id": 227
},
{
"player_id": 73962,
"substitute": false,
"player_name": "Jamison Gibson-Park",
"shirt_number": 9,
"jersey_number": "9",
"player_hash_image": "8fdffb22f89be5bfbb4ab99335810e182fb036447057e0179d4fbad6cda3cb08",
"player_statistics_id": 219
},
{
"player_id": 74189,
"substitute": true,
"player_name": "Finlay Bealham",
"shirt_number": 18,
"jersey_number": "18",
"player_hash_image": "5cc2b2eda5b348ad5afa01d8b4b43eda9be0ee2b11484203823ed8e751d52d07",
"player_statistics_id": 246
},
{
"player_id": 75005,
"substitute": false,
"player_name": "Mack Hansen",
"shirt_number": 14,
"jersey_number": "14",
"player_hash_image": "52c4b12d2a83cb2ed4465156daa731cc0a7118197a5ce3e61058fc6e243e4ae7",
"player_statistics_id": 221
}
],
"player_color_number": "222226",
"player_color_primary": "000000"
},
"away_team": {
"players": [
{
"player_id": 39609,
"substitute": false,
"player_name": "Jonathan Sexton",
"shirt_number": 10,
"jersey_number": "10",
"player_hash_image": "97d11898f5426907a70085d00c213049ac1acc9365c5afffb122b34ea587679c",
"player_statistics_id": 237
},
{
"player_id": 40161,
"substitute": true,
"player_name": "Jack Conan",
"shirt_number": 20,
"jersey_number": "20",
"player_hash_image": "50527c6ad8990b66570d8e6dd66b22952878df1767634303bdf246373f852cc8",
"player_statistics_id": 248
},
{
"player_id": 40887,
"substitute": true,
"player_name": "Conor Murray",
"shirt_number": 21,
"jersey_number": "21",
"player_hash_image": "76592e7622e04351af7d10078cf14789fdc2e24b30292221f8bedc65ebafc00f",
"player_statistics_id": 258
},
{
"player_id": 41128,
"substitute": false,
"player_name": "Tadhg Furlong",
"shirt_number": 3,
"jersey_number": "3",
"player_hash_image": "118e5b436bd392b48a4cae52fabf60fdc3d3f49b125d4943771265f6983d82d2",
"player_statistics_id": 217
},
{
"player_id": 41722,
"substitute": false,
"player_name": "Peter O'Mahony",
"shirt_number": 6,
"jersey_number": "6",
"player_hash_image": "d1aa773ff3b5a05639ddc994d45f29188f187229e18725784e1c5f6eb19a1747",
"player_statistics_id": 229
},
{
"player_id": 42427,
"substitute": false,
"player_name": "Gary Ringrose",
"shirt_number": 13,
"jersey_number": "13",
"player_hash_image": "834ae6355e76920f520ad4eb270126792cc38d5aeee791aa4f9f6c19ed7ed6a4",
"player_statistics_id": 234
},
{
"player_id": 42927,
"substitute": true,
"player_name": "Dave Kilcoyne",
"shirt_number": 17,
"jersey_number": "17",
"player_hash_image": "e01d16ffe71424adb1f37e34674462ed5ea3641960fdc7ad7862aba98b4c8666",
"player_statistics_id": 255
},
{
"player_id": 44086,
"substitute": false,
"player_name": "Josh Van Der Flier",
"shirt_number": 7,
"jersey_number": "7",
"player_hash_image": "ad6ae78e832574a701881feb95b79724017c0d815d3871e07b57239a855356e6",
"player_statistics_id": 243
},
{
"player_id": 44646,
"substitute": false,
"player_name": "Andrew Porter",
"shirt_number": 1,
"jersey_number": "1",
"player_hash_image": "7899284fca466aa8130343fb898b379c602a24013801b7c7beeca307631a73cb",
"player_statistics_id": 231
},
{
"player_id": 45584,
"substitute": false,
"player_name": "Tadhg Beirne",
"shirt_number": 4,
"jersey_number": "4",
"player_hash_image": "1e64ea6f7380dc79809b812f734dce7302bc424983c69a8f25aa9b6a1b75448c",
"player_statistics_id": 213
},
{
"player_id": 47165,
"substitute": true,
"player_name": "James Ryan",
"shirt_number": 19,
"jersey_number": "19",
"player_hash_image": "c1ace9ff059c1e5e51973e7afae4da96226fb5d82c3a58407cf18731ce77e919",
"player_statistics_id": 260
},
{
"player_id": 48001,
"substitute": false,
"player_name": "Hugo Keenan",
"shirt_number": 15,
"jersey_number": "15",
"player_hash_image": "57d2831722bc39d2b13a77ebd005cea3430da23ecc1b59bcade03c1ce4d4827a",
"player_statistics_id": 225
},
{
"player_id": 51253,
"substitute": true,
"player_name": "Jack Crowley",
"shirt_number": 22,
"jersey_number": "22",
"player_hash_image": "cc191a1ea4b050d522618c35fff910df87943c0398c2df1772e41569b54b7ee6",
"player_statistics_id": 251
},
{
"player_id": 52664,
"substitute": false,
"player_name": "Caelan Doris",
"shirt_number": 8,
"jersey_number": "8",
"player_hash_image": "e951166babccc61820b49ea684cb254233075ec5623d194516a18ce91a2d0bac",
"player_statistics_id": 215
},
{
"player_id": 53836,
"substitute": true,
"player_name": "Ronan Kelleher",
"shirt_number": 16,
"jersey_number": "16",
"player_hash_image": "d222069bb54f3b70dc1d4880ef99864260b4890fcfd31172cc715534a5557897",
"player_statistics_id": 253
},
{
"player_id": 55262,
"substitute": false,
"player_name": "Dan Sheehan",
"shirt_number": 2,
"jersey_number": "2",
"player_hash_image": "aab973cfe4322119cfb90f3ffc3c34ecaf9aaed782ff6cbaf5d35fe3fc22e0df",
"player_statistics_id": 240
},
{
"player_id": 72580,
"substitute": false,
"player_name": "Bundee Aki",
"shirt_number": 12,
"jersey_number": "12",
"player_hash_image": "c4f0be126a68a5fd5493d60eb4893b76a9538e2fcbd4fa49e989d410de3cdfd4",
"player_statistics_id": 211
},
{
"player_id": 72842,
"substitute": true,
"player_name": "Stuart McCloskey",
"shirt_number": 23,
"jersey_number": "23",
"player_hash_image": "b88ba4f6a7c9531cd78a08cca6f44227d56b4ce3aa4e1efa8f35da560bf4653b",
"player_statistics_id": 257
},
{
"player_id": 73313,
"substitute": false,
"player_name": "Iain Henderson",
"shirt_number": 5,
"jersey_number": "5",
"player_hash_image": "aa4aa08873f5449024a339ac28c8565a67a9eb28e90bc13ec1a7e9576526a3c2",
"player_statistics_id": 223
},
{
"player_id": 73702,
"substitute": false,
"player_name": "James Lowe",
"shirt_number": 11,
"jersey_number": "11",
"player_hash_image": "86c42e1ff07a72fbe4cf05a6095580137e60632ac01304659ad7a06c362de881",
"player_statistics_id": 227
},
{
"player_id": 73962,
"substitute": false,
"player_name": "Jamison Gibson-Park",
"shirt_number": 9,
"jersey_number": "9",
"player_hash_image": "8fdffb22f89be5bfbb4ab99335810e182fb036447057e0179d4fbad6cda3cb08",
"player_statistics_id": 219
},
{
"player_id": 74189,
"substitute": true,
"player_name": "Finlay Bealham",
"shirt_number": 18,
"jersey_number": "18",
"player_hash_image": "5cc2b2eda5b348ad5afa01d8b4b43eda9be0ee2b11484203823ed8e751d52d07",
"player_statistics_id": 246
},
{
"player_id": 75005,
"substitute": false,
"player_name": "Mack Hansen",
"shirt_number": 14,
"jersey_number": "14",
"player_hash_image": "52c4b12d2a83cb2ed4465156daa731cc0a7118197a5ce3e61058fc6e243e4ae7",
"player_statistics_id": 221
}
],
"player_color_number": "222226",
"player_color_primary": "000000"
}
}
]