football-docs 0.4.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -53
- package/bin/serve.js +6 -1
- package/data/docs.db +0 -0
- package/dist/crawl.js +59 -1
- package/dist/impect-truth.d.ts +61 -0
- package/dist/impect-truth.js +250 -0
- package/dist/index.d.ts +11 -6
- package/dist/index.js +104 -304
- package/dist/ingest.js +5 -2
- package/dist/tools.d.ts +63 -0
- package/dist/tools.js +526 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-api-access-dynamic-events.md +134 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-api-access-our-tracking-data.md +160 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-best-practice-analysis-guidance.md +16 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-dynamic-events-check.md +33 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-explore-game-intelligence-data-1.md +37 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-explore-game-intelligence-data.md +29 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-first-requests.md +99 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-generate-visual-reports.md +90 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-make-your-first-queries.md +92 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-off-ball-run-sportscode-xml.md +32 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-on-ball-engagement-video-definitio.md +15 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-python-retrieve-dynamic-events-fil.md +102 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-python-retrieve-game-intelligence-.md +158 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-python-sync-your-database-with-ski.md +192 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-run-detection-and-classification.md +131 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-skill-corner-tracking-data.md +82 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-skillcorner-python-client.md +70 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started-using-skillcorner-api.md +146 -0
- package/docs/_reference/skillcorner-crunch-help/getting-started.md +43 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-coordinates-distance-speeds-and-directi.md +149 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-dynamic-events-csv-specifications.md +15 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-forward-momentum.md +13 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-game-intelligence-v2-metrics.md +17 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-in-possession-package-content.md +19 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-line-breaking-passes.md +103 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-off-ball-run-dynamic-events.md +197 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-overcoming-pressure.md +105 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-passing-metrics-1.md +144 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-passing-moment-frame-selection.md +19 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-peak-sprint-velocity.md +26 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-phases-of-play-video-definitions.md +15 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-physical-data-glossary.md +127 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries-running-off-ball-metrics-1.md +135 -0
- package/docs/_reference/skillcorner-crunch-help/glossaries.md +43 -0
- package/docs/_reference/skillcorner-crunch-help/index.md +33 -0
- package/docs/_reference/skillcorner-crunch-help/models-general-concepts-pass-completion-probabilit.md +15 -0
- package/docs/_reference/skillcorner-crunch-help/models-general-concepts-passing-option.md +30 -0
- package/docs/_reference/skillcorner-crunch-help/models-general-concepts-physical-load-prediction-m.md +63 -0
- package/docs/_reference/skillcorner-crunch-help/models-general-concepts-pressure-detection.md +46 -0
- package/docs/_reference/skillcorner-crunch-help/models-general-concepts-pressure-intensity.md +80 -0
- package/docs/_reference/skillcorner-crunch-help/models-general-concepts-threat.md +40 -0
- package/docs/_reference/skillcorner-crunch-help/models-general-concepts.md +37 -0
- package/docs/_reference/skillcorner-crunch-help/product-updates-1-changelog-2025.md +57 -0
- package/docs/_reference/skillcorner-crunch-help/product-updates-1-game-intelligence-v2-migration.md +64 -0
- package/docs/_reference/skillcorner-crunch-help/product-updates-1-product-updates.md +200 -0
- package/docs/_reference/skillcorner-crunch-help/product-updates-1.md +25 -0
- package/docs/_reference/skillcorner-crunch-help/tool-box-api-data-version.md +255 -0
- package/docs/_reference/skillcorner-crunch-help/tool-box-data-availability.md +55 -0
- package/docs/_reference/skillcorner-crunch-help/tool-box-python-event-tracking-synchronization-1.md +442 -0
- package/docs/_reference/skillcorner-crunch-help/tool-box-python-event-tracking-synchronization.md +276 -0
- package/docs/_reference/skillcorner-crunch-help/tool-box-python-off-ball-runs-radar-plots.md +69 -0
- package/docs/_reference/skillcorner-crunch-help/tool-box-rule-based-event-synchronisation.md +44 -0
- package/docs/_reference/skillcorner-crunch-help/tool-box.md +35 -0
- package/docs/_reference/skillcorner-crunch-help/working-with-the-data-averaging-per-match-per-even.md +179 -0
- package/docs/_reference/skillcorner-crunch-help/working-with-the-data-benchmarking-normalisation.md +27 -0
- package/docs/_reference/skillcorner-crunch-help/working-with-the-data-data-quality-standards.md +45 -0
- package/docs/_reference/skillcorner-crunch-help/working-with-the-data-physical-data-glossary-1-1.md +54 -0
- package/docs/_reference/skillcorner-crunch-help/working-with-the-data-physical-data-glossary-1.md +25 -0
- package/docs/_reference/skillcorner-crunch-help/working-with-the-data-pitch-modelisation.md +27 -0
- package/docs/_reference/skillcorner-crunch-help/working-with-the-data-playing-time-info.md +133 -0
- package/docs/_reference/skillcorner-crunch-help/working-with-the-data.md +43 -0
- package/docs/floodlight/compendium-0-compendium.md +21 -0
- package/docs/floodlight/compendium-1-data.md +54 -0
- package/docs/floodlight/compendium-2-design.md +49 -0
- package/docs/floodlight/compendium-3-time.md +57 -0
- package/docs/floodlight/compendium-4-space.md +137 -0
- package/docs/floodlight/compendium-5-identifier.md +63 -0
- package/docs/floodlight/core-code.md +85 -0
- package/docs/floodlight/core-core.md +39 -0
- package/docs/floodlight/core-definitions.md +128 -0
- package/docs/floodlight/core-events.md +177 -0
- package/docs/floodlight/core-pitch.md +87 -0
- package/docs/floodlight/core-property.md +107 -0
- package/docs/floodlight/core-teamsheet.md +86 -0
- package/docs/floodlight/core-xy.md +192 -0
- package/docs/floodlight/guides-contrib-manual.md +462 -0
- package/docs/floodlight/guides-getting-started.md +194 -0
- package/docs/floodlight/guides-tutorial-analysis.md +245 -0
- package/docs/floodlight/guides-tutorial-matchsheets.md +439 -0
- package/docs/floodlight/index.md +17 -0
- package/docs/floodlight/io-datasets.md +365 -0
- package/docs/floodlight/io-dfl.md +107 -0
- package/docs/floodlight/io-io.md +131 -0
- package/docs/floodlight/io-kinexon.md +119 -0
- package/docs/floodlight/io-opta.md +49 -0
- package/docs/floodlight/io-secondspectrum.md +121 -0
- package/docs/floodlight/io-skillcorner.md +40 -0
- package/docs/floodlight/io-sportradar.md +35 -0
- package/docs/floodlight/io-statsbomb.md +61 -0
- package/docs/floodlight/io-statsperform.md +239 -0
- package/docs/floodlight/io-tracab.md +78 -0
- package/docs/floodlight/io-utils.md +59 -0
- package/docs/floodlight/metrics-entropy.md +36 -0
- package/docs/floodlight/metrics-metrics.md +15 -0
- package/docs/floodlight/metrics-trajectory-clustering.md +51 -0
- package/docs/floodlight/metrics-zone-aggregation.md +116 -0
- package/docs/floodlight/models-geometry.md +411 -0
- package/docs/floodlight/models-kinematics.md +251 -0
- package/docs/floodlight/models-kinetics.md +137 -0
- package/docs/floodlight/models-models.md +89 -0
- package/docs/floodlight/models-space.md +202 -0
- package/docs/floodlight/transforms-filter.md +412 -0
- package/docs/floodlight/transforms-interpolation.md +230 -0
- package/docs/floodlight/transforms-permutation.md +36 -0
- package/docs/floodlight/transforms-spatial.md +54 -0
- package/docs/floodlight/transforms-temporal.md +42 -0
- package/docs/floodlight/transforms-transforms.md +57 -0
- package/docs/floodlight/utils-types.md +13 -0
- package/docs/floodlight/utils-utils.md +17 -0
- package/docs/floodlight/vis-pitches.md +111 -0
- package/docs/floodlight/vis-positions.md +129 -0
- package/docs/floodlight/vis-vis.md +19 -0
- package/docs/fmdb-pro/api-access.md +120 -0
- package/docs/fmdb-pro/api-endpoints.md +123 -0
- package/docs/fmdb-pro/data-model.md +124 -0
- package/docs/fmdb-pro/identity-surfaces.md +108 -0
- package/docs/fotmob/identity-surfaces.md +16 -44
- package/docs/free-sources/contextual-story-joins.md +110 -0
- package/docs/free-sources/overview.md +60 -13
- package/docs/free-sources/understat.md +15 -6
- package/docs/free-sources/xg-timelines.md +123 -0
- package/docs/impect/concepts.md +183 -0
- package/docs/impect/coordinate-system.md +136 -0
- package/docs/impect/data-model.md +276 -0
- package/docs/impect/event-types.md +226 -0
- package/docs/impect/identity-surfaces.md +123 -51
- package/docs/impect/kpi-definitions.md +154 -0
- package/docs/impect/overview.md +152 -0
- package/docs/kloppy/event-derived-metrics.md +337 -0
- package/docs/kloppy/tracking-rendering.md +420 -0
- package/docs/mplsoccer/visualizations.md +363 -6
- package/docs/opta/charting-game-state.md +216 -0
- package/docs/opta/charting-lineups.md +90 -0
- package/docs/opta/charting-passmaps.md +130 -0
- package/docs/opta/charting-set-pieces.md +106 -0
- package/docs/opta/charting-shot-placement.md +233 -0
- package/docs/opta/event-types.md +44 -0
- package/docs/opta/identity-surfaces.md +31 -59
- package/docs/opta/qualifiers.md +16 -7
- package/docs/skillcorner/api-access.md +68 -0
- package/docs/skillcorner/api-endpoints.md +79 -0
- package/docs/skillcorner/concepts.md +58 -0
- package/docs/skillcorner/coordinate-system.md +34 -0
- package/docs/skillcorner/data-model.md +79 -0
- package/docs/skillcorner/identity-surfaces.md +26 -43
- package/docs/skillcorner/physical-data.md +106 -0
- package/docs/socceraction/spadl.md +21 -0
- package/docs/soccerdata/data-sources.md +37 -0
- package/docs/soccerdonna/identity-surfaces.md +16 -45
- package/docs/sportmonks/charting-season-stories.md +125 -0
- package/docs/sportmonks/data-model.md +35 -12
- package/docs/sportmonks/event-types.md +1 -1
- package/docs/sportmonks/identity-surfaces.md +33 -56
- package/docs/sportradar/api-access.md +75 -0
- package/docs/sportradar/api-endpoints.md +92 -0
- package/docs/sportradar/charting-and-stories.md +57 -0
- package/docs/sportradar/data-model.md +84 -0
- package/docs/sportradar/integration-notes.md +58 -0
- package/docs/statsbomb/charting-lineups.md +79 -0
- package/docs/statsbomb/identity-surfaces.md +33 -61
- package/docs/statsbomb/player-mapping.md +9 -10
- package/docs/thesportsdb/api-access.md +68 -0
- package/docs/thesportsdb/api-endpoints.md +55 -0
- package/docs/thesportsdb/identity-surfaces.md +48 -0
- package/docs/thesportsdb/livescore.md +70 -0
- package/docs/transfermarkt/identity-surfaces.md +23 -53
- package/docs/transferroom/api-access.md +91 -0
- package/docs/transferroom/api-endpoints.md +257 -0
- package/docs/transferroom/charting-availability.md +74 -0
- package/docs/transferroom/data-model.md +143 -0
- package/docs/transferroom/identity-surfaces.md +132 -0
- package/docs/wyscout/api-access.md +86 -127
- package/docs/wyscout/api-endpoints.md +136 -0
- package/docs/wyscout/charting-analysis-metrics.md +124 -0
- package/docs/wyscout/coordinate-system.md +35 -107
- package/docs/wyscout/data-model.md +185 -231
- package/docs/wyscout/event-types.md +59 -180
- package/docs/wyscout/glossary-events.md +1956 -0
- package/docs/wyscout/glossary-metrics-concepts.md +812 -0
- package/docs/wyscout/identity-surfaces.md +21 -42
- package/package.json +6 -14
- package/providers.json +167 -62
|
@@ -1,193 +1,72 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
| Primary Type ID | Name | Description |
|
|
8
|
-
|---|---|---|
|
|
9
|
-
| `pass` | Pass | Any pass attempt (short, long, cross, through ball, key pass, assist) |
|
|
10
|
-
| `shot` | Shot | Any shot attempt (on target, off target, blocked, post) |
|
|
11
|
-
| `duel` | Duel | Any 1v1 contest (aerial, ground attacking, ground defending, ground loose ball) |
|
|
12
|
-
| `free_kick` | Free Kick | Free kicks, corners, goal kicks, throw-ins, penalties |
|
|
13
|
-
| `touch` | Touch | Ball touch events (clearance, interception, acceleration) |
|
|
14
|
-
| `goalkeeper` | Goalkeeper | Goalkeeper-specific actions (save, punch, drop, pick-up) |
|
|
15
|
-
| `infraction` | Infraction | Fouls and handballs |
|
|
16
|
-
| `others_on_the_ball` | Others On The Ball | Other on-ball events not covered above |
|
|
17
|
-
| `game_interruption` | Game Interruption | Stoppages (injury, referee stop, etc.) |
|
|
18
|
-
|
|
19
|
-
## Secondary Event Types by Primary Type
|
|
20
|
-
|
|
21
|
-
### Pass Secondary Types
|
|
22
|
-
|
|
23
|
-
| Secondary Type ID | Name | Description |
|
|
24
|
-
|---|---|---|
|
|
25
|
-
| `simple_pass` | Simple Pass | Short ground pass |
|
|
26
|
-
| `launch` | Launch | Long ball (typically > 32m) |
|
|
27
|
-
| `cross` | Cross | Cross into the box |
|
|
28
|
-
| `smart_pass` | Smart Pass | Creative pass that breaks defensive lines |
|
|
29
|
-
| `head_pass` | Head Pass | Header pass |
|
|
30
|
-
| `hand_pass` | Hand Pass | Goalkeeper hand pass / throw |
|
|
31
|
-
| `high_pass` | High Pass | Lofted pass |
|
|
32
|
-
| `goal_kick` | Goal Kick | Goal kick distribution (also under free_kick primary) |
|
|
33
|
-
|
|
34
|
-
### Shot Secondary Types
|
|
35
|
-
|
|
36
|
-
| Secondary Type ID | Name | Description |
|
|
37
|
-
|---|---|---|
|
|
38
|
-
| `shot` | Shot | Standard shot |
|
|
39
|
-
| `head_shot` | Head Shot | Header on goal |
|
|
40
|
-
|
|
41
|
-
### Duel Secondary Types
|
|
42
|
-
|
|
43
|
-
| Secondary Type ID | Name | Description |
|
|
44
|
-
|---|---|---|
|
|
45
|
-
| `aerial_duel` | Aerial Duel | Header contest |
|
|
46
|
-
| `ground_attacking_duel` | Ground Attacking Duel | Attacker in 1v1 ground duel |
|
|
47
|
-
| `ground_defending_duel` | Ground Defending Duel | Defender in 1v1 ground duel |
|
|
48
|
-
| `ground_loose_ball_duel` | Ground Loose Ball Duel | 50/50 contest for loose ball |
|
|
49
|
-
|
|
50
|
-
### Free Kick Secondary Types
|
|
51
|
-
|
|
52
|
-
| Secondary Type ID | Name | Description |
|
|
53
|
-
|---|---|---|
|
|
54
|
-
| `free_kick` | Free Kick | Direct/indirect free kick |
|
|
55
|
-
| `free_kick_cross` | Free Kick Cross | Free kick delivered as a cross |
|
|
56
|
-
| `corner` | Corner | Corner kick |
|
|
57
|
-
| `goal_kick` | Goal Kick | Goal kick |
|
|
58
|
-
| `throw_in` | Throw In | Throw-in |
|
|
59
|
-
| `penalty` | Penalty | Penalty kick |
|
|
60
|
-
| `free_kick_shot` | Free Kick Shot | Shot from a free kick |
|
|
61
|
-
|
|
62
|
-
### Touch Secondary Types
|
|
63
|
-
|
|
64
|
-
| Secondary Type ID | Name | Description |
|
|
65
|
-
|---|---|---|
|
|
66
|
-
| `clearance` | Clearance | Defensive clearance |
|
|
67
|
-
| `interception` | Interception | Intercepting a pass |
|
|
68
|
-
| `acceleration` | Acceleration | Ball carry / acceleration with ball |
|
|
69
|
-
| `touch` | Touch | Generic ball touch |
|
|
70
|
-
|
|
71
|
-
### Goalkeeper Secondary Types
|
|
72
|
-
|
|
73
|
-
| Secondary Type ID | Name | Description |
|
|
74
|
-
|---|---|---|
|
|
75
|
-
| `save_attempt` | Save Attempt | Goalkeeper save |
|
|
76
|
-
| `punch` | Punch | Goalkeeper punch |
|
|
77
|
-
| `goalkeeper_pick_up` | Goalkeeper Pick Up | Goalkeeper picks up ball |
|
|
78
|
-
| `keeper_sweeper` | Keeper Sweeper | Goalkeeper comes off line |
|
|
79
|
-
|
|
80
|
-
### Infraction Secondary Types
|
|
81
|
-
|
|
82
|
-
| Secondary Type ID | Name | Description |
|
|
83
|
-
|---|---|---|
|
|
84
|
-
| `foul` | Foul | Foul committed |
|
|
85
|
-
| `hand_foul` | Hand Foul | Handball |
|
|
86
|
-
| `late_card_foul` | Late Card Foul | Foul shown card after play |
|
|
87
|
-
| `out_of_game_foul` | Out Of Game Foul | Foul off the ball |
|
|
88
|
-
| `protest` | Protest | Yellow card for dissent |
|
|
89
|
-
| `simulation` | Simulation | Dive / simulation |
|
|
90
|
-
| `time_lost_foul` | Time Lost Foul | Time wasting |
|
|
91
|
-
| `violent_foul` | Violent Foul | Violent conduct |
|
|
92
|
-
|
|
93
|
-
## Event Properties
|
|
94
|
-
|
|
95
|
-
Every Wyscout v3 event includes:
|
|
1
|
+
---
|
|
2
|
+
source_url: https://apidocs.wyscout.com/
|
|
3
|
+
source_type: crawled
|
|
4
|
+
upstream_version: v3 2024-03-12 / v4 2024-05-09
|
|
5
|
+
crawled_at: 2026-06-03
|
|
6
|
+
---
|
|
96
7
|
|
|
97
|
-
|
|
98
|
-
{
|
|
99
|
-
"id": 123456789,
|
|
100
|
-
"matchId": 5012345,
|
|
101
|
-
"matchPeriod": "1H",
|
|
102
|
-
"second": 245.6,
|
|
103
|
-
"videoTimestamp": "00:04:05",
|
|
104
|
-
"team": { "id": 123, "name": "Team Name" },
|
|
105
|
-
"player": { "id": 456, "name": "Player Name" },
|
|
106
|
-
"type": {
|
|
107
|
-
"primary": { "id": "pass", "name": "Pass" },
|
|
108
|
-
"secondary": { "id": "cross", "name": "Cross" }
|
|
109
|
-
},
|
|
110
|
-
"location": { "x": 72.5, "y": 34.2 },
|
|
111
|
-
"possession": { "id": 789, "team": { "id": 123 }, "types": ["positional_attack"] },
|
|
112
|
-
"groundPressure": true,
|
|
113
|
-
"aerialDuel": false
|
|
114
|
-
}
|
|
115
|
-
```
|
|
8
|
+
# Wyscout Event Types
|
|
116
9
|
|
|
117
|
-
|
|
10
|
+
The event taxonomy used by `GET /matches/{wyId}/events`. **Identical in v3 and v4.** Each event is identified by a `type` object with a single `primary` type and zero or more `secondary` types:
|
|
118
11
|
|
|
119
12
|
```json
|
|
120
|
-
{
|
|
121
|
-
"
|
|
122
|
-
|
|
123
|
-
"onTarget": true,
|
|
124
|
-
"goalZone": "gc",
|
|
125
|
-
"xg": 0.15,
|
|
126
|
-
"postShotXg": 0.82,
|
|
127
|
-
"bodyPart": "right_foot",
|
|
128
|
-
"goalMouthLocation": { "y": 45.2, "z": 22.1 }
|
|
129
|
-
}
|
|
13
|
+
"type": {
|
|
14
|
+
"primary": "pass",
|
|
15
|
+
"secondary": ["cross", "assist", "key_pass"]
|
|
130
16
|
}
|
|
131
17
|
```
|
|
132
18
|
|
|
133
|
-
|
|
19
|
+
- **`primary`** is guaranteed present and holds exactly **one** value.
|
|
20
|
+
- **`secondary`** is an array (possibly empty) of additional tags describing the same event.
|
|
134
21
|
|
|
135
|
-
|
|
136
|
-
|---|---|
|
|
137
|
-
| `gc` | Goal centre |
|
|
138
|
-
| `gl` | Goal left |
|
|
139
|
-
| `gr` | Goal right |
|
|
140
|
-
| `ghl` | Goal high left |
|
|
141
|
-
| `ghc` | Goal high centre |
|
|
142
|
-
| `ghr` | Goal high right |
|
|
143
|
-
| `obr` | Out bottom right |
|
|
144
|
-
| `obl` | Out bottom left |
|
|
145
|
-
| `otr` | Out top right |
|
|
146
|
-
| `otl` | Out top left |
|
|
147
|
-
| `bc` | Blocked centre |
|
|
148
|
-
|
|
149
|
-
## Pass-specific Properties
|
|
22
|
+
For prose definitions of what each tag means (e.g. what counts as a "cross" or a "key pass"), see [glossary-events.md](glossary-events.md). For the full per-event payload (locations, pass/shot/duel detail), see [data-model.md](data-model.md).
|
|
150
23
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
24
|
+
## Primary event types (22)
|
|
25
|
+
|
|
26
|
+
`acceleration`, `clearance`, `corner`, `duel`, `fairplay`, `free_kick`, `game_interruption`, `goal_kick`, `goalkeeper_exit`, `infraction`, `interception`, `offside`, `own_goal`, `pass`, `penalty`, `pressing_attempt`, `received_pass`, `shot_against`, `throw_in`, `touch`, `postmatch_penalty`, `postmatch_penalty_faced`
|
|
27
|
+
|
|
28
|
+
Notes:
|
|
29
|
+
- `postmatch_penalty` / `postmatch_penalty_faced` are penalty-shootout events (distinct from in-play `penalty`).
|
|
30
|
+
- `shot_against` and `goalkeeper_exit` are goalkeeper-perspective primaries.
|
|
31
|
+
- `received_pass` marks the reception side of a pass (the receiving player's event).
|
|
32
|
+
|
|
33
|
+
## Secondary event types (62)
|
|
34
|
+
|
|
35
|
+
Tags that decorate a primary event. A single event commonly carries several (e.g. a `pass` that is also `cross`, `assist`, `key_pass`).
|
|
36
|
+
|
|
37
|
+
`aerial_duel`, `assist`, `back_pass`, `ball_out`, `carry`, `conceded_goal`, `counterpressing_recovery`, `cross`, `cross_blocked`, `deep_completed_cross`, `deep_completition`, `defensive_duel`, `dribble`, `dribbled_past_attempt`, `forward_pass`, `foul`, `foul_suffered`, `free_kick_cross`, `free_kick_shot`, `goal`, `ground_duel`, `hand_pass`, `head_pass`, `head_shot`, `key_pass`, `lateral_pass`, `linkup_play`, `long_pass`, `loose_ball_duel`, `loss`, `offensive_duel`, `opportunity`, `pass_into_penalty_area`, `pass_to_final_third`, `penalty_conceded_goal`, `penalty_foul`, `penalty_goal`, `penalty_save`, `pressing_duel`, `progressive_pass`, `progressive_run`, `recovery`, `red_card`, `save`, `save_with_reflex`, `second_assist`, `short_or_medium_pass`, `shot_after_corner`, `shot_after_free_kick`, `shot_after_throw_in`, `shot_assist`, `shot_block`, `sliding_tackle`, `smart_pass`, `third_assist`, `through_pass`, `touch_in_box`, `under_pressure`, `whistle`, `yellow_card`, `postmatch_penalty_saved`, `conceded_postmatch_penalty`
|
|
38
|
+
|
|
39
|
+
Note: `deep_completition` is spelled as shown in the API (a misspelling of "deep completion" that is part of the contract — do not "correct" it when matching tags).
|
|
40
|
+
|
|
41
|
+
### Grouped for orientation
|
|
42
|
+
|
|
43
|
+
These groupings are for human navigation only; the API does not nest them.
|
|
44
|
+
|
|
45
|
+
- **Passing** — `forward_pass`, `back_pass`, `lateral_pass`, `long_pass`, `short_or_medium_pass`, `head_pass`, `hand_pass`, `progressive_pass`, `smart_pass`, `through_pass`, `cross`, `free_kick_cross`, `cross_blocked`, `pass_into_penalty_area`, `pass_to_final_third`, `deep_completition`, `deep_completed_cross`, `key_pass`, `shot_assist`, `assist`, `second_assist`, `third_assist`, `linkup_play`
|
|
46
|
+
- **Shooting** — `goal`, `head_shot`, `free_kick_shot`, `shot_block`, `opportunity`, `shot_after_corner`, `shot_after_free_kick`, `shot_after_throw_in`, `conceded_goal`, `penalty_goal`, `penalty_conceded_goal`
|
|
47
|
+
- **Duels & carrying** — `duel`, `ground_duel`, `aerial_duel`, `defensive_duel`, `offensive_duel`, `loose_ball_duel`, `pressing_duel`, `sliding_tackle`, `dribble`, `dribbled_past_attempt`, `carry`, `progressive_run`, `touch_in_box`, `under_pressure`
|
|
48
|
+
- **Defending & transitions** — `recovery`, `counterpressing_recovery`, `loss`, `ball_out`
|
|
49
|
+
- **Goalkeeping** — `save`, `save_with_reflex`, `penalty_save`
|
|
50
|
+
- **Fouls & cards** — `foul`, `foul_suffered`, `penalty_foul`, `yellow_card`, `red_card`
|
|
51
|
+
- **Shootout** — `postmatch_penalty_saved`, `conceded_postmatch_penalty`
|
|
52
|
+
- **Other** — `whistle`
|
|
53
|
+
|
|
54
|
+
## Possession types (12)
|
|
55
|
+
|
|
56
|
+
Each event may carry a `possession` object whose `types` array describes the possession it belongs to:
|
|
57
|
+
|
|
58
|
+
`corner`, `counterattack`, `set_piece_attack`, `attack`, `free_kick`, `direct_free_kick`, `penalty`, `throw_in`, `free_kick_cross`, `transition_low`, `transition_medium`, `transition_high`
|
|
59
|
+
|
|
60
|
+
The `transition_low` / `transition_medium` / `transition_high` values grade transition speed/threat. See `possession` in [data-model.md](data-model.md) for the full object (start/end location, duration, attack flag).
|
|
163
61
|
|
|
164
|
-
##
|
|
62
|
+
## Match periods
|
|
165
63
|
|
|
166
|
-
|
|
64
|
+
The `matchPeriod` field on each event:
|
|
167
65
|
|
|
168
|
-
|
|
|
66
|
+
| Code | Period |
|
|
169
67
|
|---|---|
|
|
170
|
-
| `
|
|
171
|
-
| `
|
|
172
|
-
| `
|
|
173
|
-
| `
|
|
174
|
-
| `
|
|
175
|
-
| `throw_in_attack` | Attack from a throw-in |
|
|
176
|
-
| `goal_kick_attack` | Attack from a goal kick |
|
|
177
|
-
| `penalty_attack` | Penalty situation |
|
|
178
|
-
|
|
179
|
-
## v2 vs v3 Type ID Differences
|
|
180
|
-
|
|
181
|
-
In Wyscout **v2**, primary types used numeric IDs:
|
|
182
|
-
|
|
183
|
-
| v2 ID | v3 ID | Name |
|
|
184
|
-
|---|---|---|
|
|
185
|
-
| 1 | `duel` | Duel |
|
|
186
|
-
| 2 | `free_kick` | Free Kick |
|
|
187
|
-
| 3 | `goalkeeper` | Goalkeeper |
|
|
188
|
-
| 7 | `others_on_the_ball` | Others On The Ball |
|
|
189
|
-
| 8 | `pass` | Pass |
|
|
190
|
-
| 9 | `infraction` | Infraction |
|
|
191
|
-
| 10 | `shot` | Shot |
|
|
192
|
-
|
|
193
|
-
v3 switched to string-based IDs for both primary and secondary types and restructured the type hierarchy significantly. The v2 `subeventId` (numeric) was replaced by the `type.secondary` object.
|
|
68
|
+
| `1H` | First half |
|
|
69
|
+
| `2H` | Second half |
|
|
70
|
+
| `E1` | First extra time |
|
|
71
|
+
| `E2` | Second extra time |
|
|
72
|
+
| `P` | Penalty shootout |
|