crawlora 1.53.0 → 1.53.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +1 -1
- data/docs/operations.md +10 -1
- data/lib/crawlora/operations.rb +999 -140
- data/lib/crawlora/version.rb +1 -1
- data/openapi/public.json +2118 -374
- data/sig/crawlora.rbs +9 -0
- metadata +1 -1
data/openapi/public.json
CHANGED
|
@@ -160624,6 +160624,84 @@
|
|
|
160624
160624
|
},
|
|
160625
160625
|
"type": "object"
|
|
160626
160626
|
},
|
|
160627
|
+
"itchio.SaleEvent": {
|
|
160628
|
+
"properties": {
|
|
160629
|
+
"dates": {
|
|
160630
|
+
"type": "string"
|
|
160631
|
+
},
|
|
160632
|
+
"ends_text": {
|
|
160633
|
+
"type": "string"
|
|
160634
|
+
},
|
|
160635
|
+
"num_pages": {
|
|
160636
|
+
"type": "integer"
|
|
160637
|
+
},
|
|
160638
|
+
"page": {
|
|
160639
|
+
"type": "integer"
|
|
160640
|
+
},
|
|
160641
|
+
"stats": {
|
|
160642
|
+
"description": "Stats is the native results line, e.g. \"1000+ projects on sale match\".",
|
|
160643
|
+
"type": "string"
|
|
160644
|
+
},
|
|
160645
|
+
"title": {
|
|
160646
|
+
"type": "string"
|
|
160647
|
+
}
|
|
160648
|
+
},
|
|
160649
|
+
"type": "object"
|
|
160650
|
+
},
|
|
160651
|
+
"itchio.SaleGame": {
|
|
160652
|
+
"properties": {
|
|
160653
|
+
"creator": {
|
|
160654
|
+
"type": "string"
|
|
160655
|
+
},
|
|
160656
|
+
"creator_url": {
|
|
160657
|
+
"type": "string"
|
|
160658
|
+
},
|
|
160659
|
+
"description": {
|
|
160660
|
+
"type": "string"
|
|
160661
|
+
},
|
|
160662
|
+
"discount": {
|
|
160663
|
+
"description": "Discount is the card's native badge, e.g. \"-50%\".",
|
|
160664
|
+
"type": "string"
|
|
160665
|
+
},
|
|
160666
|
+
"genre": {
|
|
160667
|
+
"type": "string"
|
|
160668
|
+
},
|
|
160669
|
+
"id": {
|
|
160670
|
+
"type": "string"
|
|
160671
|
+
},
|
|
160672
|
+
"image_url": {
|
|
160673
|
+
"type": "string"
|
|
160674
|
+
},
|
|
160675
|
+
"platforms": {
|
|
160676
|
+
"description": "Platforms are the card's native platform labels (icon titles and the\n\"Play in browser\" flag), in source order, when the card shows them.",
|
|
160677
|
+
"items": {
|
|
160678
|
+
"type": "string"
|
|
160679
|
+
},
|
|
160680
|
+
"type": "array"
|
|
160681
|
+
},
|
|
160682
|
+
"price": {
|
|
160683
|
+
"type": "string"
|
|
160684
|
+
},
|
|
160685
|
+
"rating": {
|
|
160686
|
+
"description": "Rating is the card's native rating tooltip, e.g. \"4.96 average rating\nfrom 1944 total ratings\", when the card shows one.",
|
|
160687
|
+
"type": "string"
|
|
160688
|
+
},
|
|
160689
|
+
"sale_path": {
|
|
160690
|
+
"description": "SalePath is the native sale the discount belongs to (/s/{id}/{slug}).",
|
|
160691
|
+
"type": "string"
|
|
160692
|
+
},
|
|
160693
|
+
"sale_url": {
|
|
160694
|
+
"type": "string"
|
|
160695
|
+
},
|
|
160696
|
+
"title": {
|
|
160697
|
+
"type": "string"
|
|
160698
|
+
},
|
|
160699
|
+
"url": {
|
|
160700
|
+
"type": "string"
|
|
160701
|
+
}
|
|
160702
|
+
},
|
|
160703
|
+
"type": "object"
|
|
160704
|
+
},
|
|
160627
160705
|
"itchio.SaleGoal": {
|
|
160628
160706
|
"properties": {
|
|
160629
160707
|
"progress_width": {
|
|
@@ -160738,6 +160816,15 @@
|
|
|
160738
160816
|
},
|
|
160739
160817
|
"type": "array"
|
|
160740
160818
|
},
|
|
160819
|
+
"event": {
|
|
160820
|
+
"$ref": "#/definitions/itchio.SaleEvent"
|
|
160821
|
+
},
|
|
160822
|
+
"games": {
|
|
160823
|
+
"items": {
|
|
160824
|
+
"$ref": "#/definitions/itchio.SaleGame"
|
|
160825
|
+
},
|
|
160826
|
+
"type": "array"
|
|
160827
|
+
},
|
|
160741
160828
|
"heading": {
|
|
160742
160829
|
"type": "string"
|
|
160743
160830
|
},
|
|
@@ -160747,7 +160834,11 @@
|
|
|
160747
160834
|
},
|
|
160748
160835
|
"type": "array"
|
|
160749
160836
|
},
|
|
160837
|
+
"num_games": {
|
|
160838
|
+
"type": "integer"
|
|
160839
|
+
},
|
|
160750
160840
|
"num_items": {
|
|
160841
|
+
"description": "NumItems counts Items (classic sale and bundle rows). During a site-wide\nsale event itch.io serves an explorer instead: Items is then empty and\nEvent plus Games carry the listing.",
|
|
160751
160842
|
"type": "integer"
|
|
160752
160843
|
},
|
|
160753
160844
|
"path": {
|
|
@@ -198564,6 +198655,38 @@
|
|
|
198564
198655
|
},
|
|
198565
198656
|
"type": "object"
|
|
198566
198657
|
},
|
|
198658
|
+
"nba.CupStandingsResponse": {
|
|
198659
|
+
"properties": {
|
|
198660
|
+
"count": {
|
|
198661
|
+
"type": "integer"
|
|
198662
|
+
},
|
|
198663
|
+
"fetched_at": {
|
|
198664
|
+
"type": "string"
|
|
198665
|
+
},
|
|
198666
|
+
"league_id": {
|
|
198667
|
+
"type": "string"
|
|
198668
|
+
},
|
|
198669
|
+
"season_year": {
|
|
198670
|
+
"type": "string"
|
|
198671
|
+
},
|
|
198672
|
+
"source_url": {
|
|
198673
|
+
"type": "string"
|
|
198674
|
+
},
|
|
198675
|
+
"teams": {
|
|
198676
|
+
"items": {
|
|
198677
|
+
"$ref": "#/definitions/nba.Row"
|
|
198678
|
+
},
|
|
198679
|
+
"type": "array"
|
|
198680
|
+
},
|
|
198681
|
+
"time_stamp_utc": {
|
|
198682
|
+
"type": "string"
|
|
198683
|
+
},
|
|
198684
|
+
"unix_time_stamp": {
|
|
198685
|
+
"$ref": "#/definitions/nba.FlexInt"
|
|
198686
|
+
}
|
|
198687
|
+
},
|
|
198688
|
+
"type": "object"
|
|
198689
|
+
},
|
|
198567
198690
|
"nba.DetailTeam": {
|
|
198568
198691
|
"properties": {
|
|
198569
198692
|
"periods": {
|
|
@@ -198589,6 +198712,12 @@
|
|
|
198589
198712
|
},
|
|
198590
198713
|
"type": "array"
|
|
198591
198714
|
},
|
|
198715
|
+
"all_time_leaders_per_modes": {
|
|
198716
|
+
"items": {
|
|
198717
|
+
"type": "string"
|
|
198718
|
+
},
|
|
198719
|
+
"type": "array"
|
|
198720
|
+
},
|
|
198592
198721
|
"blocked": {
|
|
198593
198722
|
"items": {
|
|
198594
198723
|
"type": "string"
|
|
@@ -198610,12 +198739,79 @@
|
|
|
198610
198739
|
"game_date_format": {
|
|
198611
198740
|
"type": "string"
|
|
198612
198741
|
},
|
|
198742
|
+
"game_finder_conferences": {
|
|
198743
|
+
"items": {
|
|
198744
|
+
"type": "string"
|
|
198745
|
+
},
|
|
198746
|
+
"type": "array"
|
|
198747
|
+
},
|
|
198748
|
+
"game_finder_divisions": {
|
|
198749
|
+
"items": {
|
|
198750
|
+
"type": "string"
|
|
198751
|
+
},
|
|
198752
|
+
"type": "array"
|
|
198753
|
+
},
|
|
198754
|
+
"game_finder_outcomes": {
|
|
198755
|
+
"items": {
|
|
198756
|
+
"type": "string"
|
|
198757
|
+
},
|
|
198758
|
+
"type": "array"
|
|
198759
|
+
},
|
|
198760
|
+
"game_finder_player_or_team": {
|
|
198761
|
+
"items": {
|
|
198762
|
+
"type": "string"
|
|
198763
|
+
},
|
|
198764
|
+
"type": "array"
|
|
198765
|
+
},
|
|
198766
|
+
"game_finder_season_types": {
|
|
198767
|
+
"items": {
|
|
198768
|
+
"type": "string"
|
|
198769
|
+
},
|
|
198770
|
+
"type": "array"
|
|
198771
|
+
},
|
|
198772
|
+
"game_finder_threshold_stats": {
|
|
198773
|
+
"items": {
|
|
198774
|
+
"type": "string"
|
|
198775
|
+
},
|
|
198776
|
+
"type": "array"
|
|
198777
|
+
},
|
|
198613
198778
|
"league_ids": {
|
|
198614
198779
|
"items": {
|
|
198615
198780
|
"type": "string"
|
|
198616
198781
|
},
|
|
198617
198782
|
"type": "array"
|
|
198618
198783
|
},
|
|
198784
|
+
"league_leaders_active_flags": {
|
|
198785
|
+
"items": {
|
|
198786
|
+
"type": "string"
|
|
198787
|
+
},
|
|
198788
|
+
"type": "array"
|
|
198789
|
+
},
|
|
198790
|
+
"league_leaders_per_modes": {
|
|
198791
|
+
"items": {
|
|
198792
|
+
"type": "string"
|
|
198793
|
+
},
|
|
198794
|
+
"type": "array"
|
|
198795
|
+
},
|
|
198796
|
+
"league_leaders_scopes": {
|
|
198797
|
+
"items": {
|
|
198798
|
+
"type": "string"
|
|
198799
|
+
},
|
|
198800
|
+
"type": "array"
|
|
198801
|
+
},
|
|
198802
|
+
"league_leaders_season_types": {
|
|
198803
|
+
"items": {
|
|
198804
|
+
"type": "string"
|
|
198805
|
+
},
|
|
198806
|
+
"type": "array"
|
|
198807
|
+
},
|
|
198808
|
+
"league_leaders_stat_categories": {
|
|
198809
|
+
"description": "The 2026-11-28 round's per-route sets. These classes accept a different\nvalue space than the dashboard-wide sets above, so each is listed apart.",
|
|
198810
|
+
"items": {
|
|
198811
|
+
"type": "string"
|
|
198812
|
+
},
|
|
198813
|
+
"type": "array"
|
|
198814
|
+
},
|
|
198619
198815
|
"measure_types": {
|
|
198620
198816
|
"items": {
|
|
198621
198817
|
"type": "string"
|
|
@@ -198861,6 +199057,123 @@
|
|
|
198861
199057
|
},
|
|
198862
199058
|
"type": "object"
|
|
198863
199059
|
},
|
|
199060
|
+
"nba.MatchupDetail": {
|
|
199061
|
+
"properties": {
|
|
199062
|
+
"family_name": {
|
|
199063
|
+
"type": "string"
|
|
199064
|
+
},
|
|
199065
|
+
"first_name": {
|
|
199066
|
+
"type": "string"
|
|
199067
|
+
},
|
|
199068
|
+
"jersey_num": {
|
|
199069
|
+
"type": "string"
|
|
199070
|
+
},
|
|
199071
|
+
"name_initial": {
|
|
199072
|
+
"type": "string"
|
|
199073
|
+
},
|
|
199074
|
+
"person_id": {
|
|
199075
|
+
"$ref": "#/definitions/nba.FlexInt"
|
|
199076
|
+
},
|
|
199077
|
+
"player_slug": {
|
|
199078
|
+
"type": "string"
|
|
199079
|
+
},
|
|
199080
|
+
"statistics": {
|
|
199081
|
+
"additionalProperties": {},
|
|
199082
|
+
"type": "object"
|
|
199083
|
+
}
|
|
199084
|
+
},
|
|
199085
|
+
"type": "object"
|
|
199086
|
+
},
|
|
199087
|
+
"nba.MatchupsPlayer": {
|
|
199088
|
+
"properties": {
|
|
199089
|
+
"comment": {
|
|
199090
|
+
"type": "string"
|
|
199091
|
+
},
|
|
199092
|
+
"family_name": {
|
|
199093
|
+
"type": "string"
|
|
199094
|
+
},
|
|
199095
|
+
"first_name": {
|
|
199096
|
+
"type": "string"
|
|
199097
|
+
},
|
|
199098
|
+
"jersey_num": {
|
|
199099
|
+
"type": "string"
|
|
199100
|
+
},
|
|
199101
|
+
"matchups": {
|
|
199102
|
+
"items": {
|
|
199103
|
+
"$ref": "#/definitions/nba.MatchupDetail"
|
|
199104
|
+
},
|
|
199105
|
+
"type": "array"
|
|
199106
|
+
},
|
|
199107
|
+
"name_initial": {
|
|
199108
|
+
"type": "string"
|
|
199109
|
+
},
|
|
199110
|
+
"person_id": {
|
|
199111
|
+
"$ref": "#/definitions/nba.FlexInt"
|
|
199112
|
+
},
|
|
199113
|
+
"player_slug": {
|
|
199114
|
+
"type": "string"
|
|
199115
|
+
},
|
|
199116
|
+
"position": {
|
|
199117
|
+
"type": "string"
|
|
199118
|
+
}
|
|
199119
|
+
},
|
|
199120
|
+
"type": "object"
|
|
199121
|
+
},
|
|
199122
|
+
"nba.MatchupsResponse": {
|
|
199123
|
+
"properties": {
|
|
199124
|
+
"away_team": {
|
|
199125
|
+
"$ref": "#/definitions/nba.MatchupsTeam"
|
|
199126
|
+
},
|
|
199127
|
+
"away_team_id": {
|
|
199128
|
+
"$ref": "#/definitions/nba.FlexInt"
|
|
199129
|
+
},
|
|
199130
|
+
"count": {
|
|
199131
|
+
"type": "integer"
|
|
199132
|
+
},
|
|
199133
|
+
"fetched_at": {
|
|
199134
|
+
"type": "string"
|
|
199135
|
+
},
|
|
199136
|
+
"game_id": {
|
|
199137
|
+
"type": "string"
|
|
199138
|
+
},
|
|
199139
|
+
"home_team": {
|
|
199140
|
+
"$ref": "#/definitions/nba.MatchupsTeam"
|
|
199141
|
+
},
|
|
199142
|
+
"home_team_id": {
|
|
199143
|
+
"$ref": "#/definitions/nba.FlexInt"
|
|
199144
|
+
},
|
|
199145
|
+
"source_url": {
|
|
199146
|
+
"type": "string"
|
|
199147
|
+
}
|
|
199148
|
+
},
|
|
199149
|
+
"type": "object"
|
|
199150
|
+
},
|
|
199151
|
+
"nba.MatchupsTeam": {
|
|
199152
|
+
"properties": {
|
|
199153
|
+
"players": {
|
|
199154
|
+
"items": {
|
|
199155
|
+
"$ref": "#/definitions/nba.MatchupsPlayer"
|
|
199156
|
+
},
|
|
199157
|
+
"type": "array"
|
|
199158
|
+
},
|
|
199159
|
+
"team_city": {
|
|
199160
|
+
"type": "string"
|
|
199161
|
+
},
|
|
199162
|
+
"team_id": {
|
|
199163
|
+
"$ref": "#/definitions/nba.FlexInt"
|
|
199164
|
+
},
|
|
199165
|
+
"team_name": {
|
|
199166
|
+
"type": "string"
|
|
199167
|
+
},
|
|
199168
|
+
"team_slug": {
|
|
199169
|
+
"type": "string"
|
|
199170
|
+
},
|
|
199171
|
+
"team_tricode": {
|
|
199172
|
+
"type": "string"
|
|
199173
|
+
}
|
|
199174
|
+
},
|
|
199175
|
+
"type": "object"
|
|
199176
|
+
},
|
|
198864
199177
|
"nba.NewsResponse": {
|
|
198865
199178
|
"properties": {
|
|
198866
199179
|
"articles": {
|
|
@@ -531889,7 +532202,7 @@
|
|
|
531889
532202
|
},
|
|
531890
532203
|
"/itchio/sales": {
|
|
531891
532204
|
"get": {
|
|
531892
|
-
"description": "Reads the native sales, bundles or co-op bundles listing with the Goals filter: each promotion's id, type, title, path, author, discount, deal text, prices, end date, platforms, thumbnails and fundraising goal, plus the sales page's Editor's Picks.",
|
|
532205
|
+
"description": "Reads the native sales, bundles or co-op bundles listing with the Goals filter: each promotion's id, type, title, path, author, discount, deal text, prices, end date, platforms, thumbnails and fundraising goal, plus the sales page's Editor's Picks. During site-wide sale events (such as Black Friday) itch.io replaces the default sales listing with a sale explorer; the response then carries the event header and its discounted project cards in event and games, and items is empty.",
|
|
531893
532206
|
"operationId": "itchio-sales",
|
|
531894
532207
|
"parameters": [
|
|
531895
532208
|
{
|
|
@@ -586928,22 +587241,14 @@
|
|
|
586928
587241
|
]
|
|
586929
587242
|
}
|
|
586930
587243
|
},
|
|
586931
|
-
"/nba/
|
|
587244
|
+
"/nba/all-time-leaders": {
|
|
586932
587245
|
"get": {
|
|
586933
587246
|
"consumes": [
|
|
586934
587247
|
"application/json"
|
|
586935
587248
|
],
|
|
586936
|
-
"description": "Returns the
|
|
586937
|
-
"operationId": "nba-
|
|
587249
|
+
"description": "Returns the all-time leaders for nineteen statistics at once: one table per statistic (GPLeaders, PTSLeaders, ASTLeaders, STLLeaders, OREBLeaders, DREBLeaders, REBLeaders, BLKLeaders, FGMLeaders, FGALeaders, FG_PCTLeaders, TOVLeaders, FG3MLeaders, FG3ALeaders, FG3_PCTLeaders, PFLeaders, FTMLeaders, FTALeaders and FT_PCTLeaders), each row carrying PLAYER_ID, PLAYER_NAME, the statistic, its rank and IS_ACTIVE_FLAG. top_x sets how many players each table lists.",
|
|
587250
|
+
"operationId": "nba-all-time-leaders",
|
|
586938
587251
|
"parameters": [
|
|
586939
|
-
{
|
|
586940
|
-
"description": "Ten-digit game id from nba-scoreboard",
|
|
586941
|
-
"in": "query",
|
|
586942
|
-
"name": "game_id",
|
|
586943
|
-
"required": true,
|
|
586944
|
-
"type": "string",
|
|
586945
|
-
"x-example": "0022600196"
|
|
586946
|
-
},
|
|
586947
587252
|
{
|
|
586948
587253
|
"description": "League id; only 00 (NBA) is verified",
|
|
586949
587254
|
"enum": [
|
|
@@ -586955,192 +587260,37 @@
|
|
|
586955
587260
|
"x-example": "00"
|
|
586956
587261
|
},
|
|
586957
587262
|
{
|
|
586958
|
-
"description": "
|
|
586959
|
-
"
|
|
586960
|
-
|
|
586961
|
-
|
|
586962
|
-
|
|
586963
|
-
},
|
|
586964
|
-
{
|
|
586965
|
-
"description": "Last period to include, 0 to 14; 0 means through the end example(14)",
|
|
586966
|
-
"in": "query",
|
|
586967
|
-
"name": "end_period",
|
|
586968
|
-
"type": "integer",
|
|
586969
|
-
"x-example": 14
|
|
586970
|
-
}
|
|
586971
|
-
],
|
|
586972
|
-
"produces": [
|
|
586973
|
-
"application/json"
|
|
586974
|
-
],
|
|
586975
|
-
"responses": {
|
|
586976
|
-
"200": {
|
|
586977
|
-
"description": "OK",
|
|
586978
|
-
"schema": {
|
|
586979
|
-
"allOf": [
|
|
586980
|
-
{
|
|
586981
|
-
"$ref": "#/definitions/app.Response"
|
|
586982
|
-
},
|
|
586983
|
-
{
|
|
586984
|
-
"properties": {
|
|
586985
|
-
"data": {
|
|
586986
|
-
"$ref": "#/definitions/nba.BoxScoreResponse"
|
|
586987
|
-
}
|
|
586988
|
-
},
|
|
586989
|
-
"type": "object"
|
|
586990
|
-
}
|
|
586991
|
-
]
|
|
586992
|
-
}
|
|
586993
|
-
},
|
|
586994
|
-
"400": {
|
|
586995
|
-
"description": "Bad Request",
|
|
586996
|
-
"schema": {
|
|
586997
|
-
"$ref": "#/definitions/app.Response"
|
|
586998
|
-
}
|
|
586999
|
-
},
|
|
587000
|
-
"404": {
|
|
587001
|
-
"description": "Not Found",
|
|
587002
|
-
"schema": {
|
|
587003
|
-
"$ref": "#/definitions/app.Response"
|
|
587004
|
-
}
|
|
587005
|
-
},
|
|
587006
|
-
"429": {
|
|
587007
|
-
"description": "Too Many Requests",
|
|
587008
|
-
"schema": {
|
|
587009
|
-
"$ref": "#/definitions/app.Response"
|
|
587010
|
-
}
|
|
587011
|
-
},
|
|
587012
|
-
"503": {
|
|
587013
|
-
"description": "Service Unavailable",
|
|
587014
|
-
"schema": {
|
|
587015
|
-
"$ref": "#/definitions/app.Response"
|
|
587016
|
-
}
|
|
587017
|
-
}
|
|
587018
|
-
},
|
|
587019
|
-
"security": [
|
|
587020
|
-
{
|
|
587021
|
-
"ApiKeyAuth": []
|
|
587022
|
-
}
|
|
587023
|
-
],
|
|
587024
|
-
"summary": "NBA traditional box score for one game",
|
|
587025
|
-
"tags": [
|
|
587026
|
-
"NBA"
|
|
587027
|
-
]
|
|
587028
|
-
}
|
|
587029
|
-
},
|
|
587030
|
-
"/nba/box-score-advanced": {
|
|
587031
|
-
"get": {
|
|
587032
|
-
"consumes": [
|
|
587033
|
-
"application/json"
|
|
587034
|
-
],
|
|
587035
|
-
"description": "Returns the advanced box score for one game: each team's per-player rows with the upstream's own advanced statistics keyed by their source names. Verified statistic keys include netRating, pace and pie; the upstream sends a larger key set (offensive/defensive rating and the percentage family use long names such as offensiveRating and effectiveFieldGoalPercentage) and every key is passed through unchanged rather than projected onto a guessed struct.",
|
|
587036
|
-
"operationId": "nba-box-score-advanced",
|
|
587037
|
-
"parameters": [
|
|
587038
|
-
{
|
|
587039
|
-
"description": "Ten-digit game id from nba-scoreboard",
|
|
587263
|
+
"description": "Aggregation; defaults to PerGame",
|
|
587264
|
+
"enum": [
|
|
587265
|
+
"PerGame",
|
|
587266
|
+
"Totals"
|
|
587267
|
+
],
|
|
587040
587268
|
"in": "query",
|
|
587041
|
-
"name": "
|
|
587042
|
-
"required": true,
|
|
587269
|
+
"name": "per_mode",
|
|
587043
587270
|
"type": "string",
|
|
587044
|
-
"x-example": "
|
|
587271
|
+
"x-example": "Totals"
|
|
587045
587272
|
},
|
|
587046
587273
|
{
|
|
587047
|
-
"description": "
|
|
587274
|
+
"description": "Season type",
|
|
587048
587275
|
"enum": [
|
|
587049
|
-
"
|
|
587276
|
+
"Regular Season",
|
|
587277
|
+
"Playoffs",
|
|
587278
|
+
"Pre Season",
|
|
587279
|
+
"All Star"
|
|
587050
587280
|
],
|
|
587051
587281
|
"in": "query",
|
|
587052
|
-
"name": "
|
|
587282
|
+
"name": "season_type",
|
|
587053
587283
|
"type": "string",
|
|
587054
|
-
"x-example": "
|
|
587055
|
-
},
|
|
587056
|
-
{
|
|
587057
|
-
"description": "First period to include, 0 to 14; 0 means from the start",
|
|
587058
|
-
"in": "query",
|
|
587059
|
-
"name": "start_period",
|
|
587060
|
-
"type": "integer",
|
|
587061
|
-
"x-example": 0
|
|
587284
|
+
"x-example": "Regular Season"
|
|
587062
587285
|
},
|
|
587063
587286
|
{
|
|
587064
|
-
"description": "
|
|
587287
|
+
"description": "Players per statistic, 1 to 5000; defaults to 10",
|
|
587065
587288
|
"in": "query",
|
|
587066
|
-
"
|
|
587289
|
+
"maximum": 5000,
|
|
587290
|
+
"minimum": 1,
|
|
587291
|
+
"name": "top_x",
|
|
587067
587292
|
"type": "integer",
|
|
587068
|
-
"x-example":
|
|
587069
|
-
}
|
|
587070
|
-
],
|
|
587071
|
-
"produces": [
|
|
587072
|
-
"application/json"
|
|
587073
|
-
],
|
|
587074
|
-
"responses": {
|
|
587075
|
-
"200": {
|
|
587076
|
-
"description": "OK",
|
|
587077
|
-
"schema": {
|
|
587078
|
-
"allOf": [
|
|
587079
|
-
{
|
|
587080
|
-
"$ref": "#/definitions/app.Response"
|
|
587081
|
-
},
|
|
587082
|
-
{
|
|
587083
|
-
"properties": {
|
|
587084
|
-
"data": {
|
|
587085
|
-
"$ref": "#/definitions/nba.BoxScoreStatsResponse"
|
|
587086
|
-
}
|
|
587087
|
-
},
|
|
587088
|
-
"type": "object"
|
|
587089
|
-
}
|
|
587090
|
-
]
|
|
587091
|
-
}
|
|
587092
|
-
},
|
|
587093
|
-
"400": {
|
|
587094
|
-
"description": "Bad Request",
|
|
587095
|
-
"schema": {
|
|
587096
|
-
"$ref": "#/definitions/app.Response"
|
|
587097
|
-
}
|
|
587098
|
-
},
|
|
587099
|
-
"404": {
|
|
587100
|
-
"description": "Not Found",
|
|
587101
|
-
"schema": {
|
|
587102
|
-
"$ref": "#/definitions/app.Response"
|
|
587103
|
-
}
|
|
587104
|
-
},
|
|
587105
|
-
"429": {
|
|
587106
|
-
"description": "Too Many Requests",
|
|
587107
|
-
"schema": {
|
|
587108
|
-
"$ref": "#/definitions/app.Response"
|
|
587109
|
-
}
|
|
587110
|
-
},
|
|
587111
|
-
"503": {
|
|
587112
|
-
"description": "Service Unavailable",
|
|
587113
|
-
"schema": {
|
|
587114
|
-
"$ref": "#/definitions/app.Response"
|
|
587115
|
-
}
|
|
587116
|
-
}
|
|
587117
|
-
},
|
|
587118
|
-
"security": [
|
|
587119
|
-
{
|
|
587120
|
-
"ApiKeyAuth": []
|
|
587121
|
-
}
|
|
587122
|
-
],
|
|
587123
|
-
"summary": "NBA advanced box score for one game",
|
|
587124
|
-
"tags": [
|
|
587125
|
-
"NBA"
|
|
587126
|
-
]
|
|
587127
|
-
}
|
|
587128
|
-
},
|
|
587129
|
-
"/nba/box-score-defensive": {
|
|
587130
|
-
"get": {
|
|
587131
|
-
"consumes": [
|
|
587132
|
-
"application/json"
|
|
587133
|
-
],
|
|
587134
|
-
"description": "Returns the v2 defensive box score for one game: each team's per-player rows with the upstream's defensive statistics keyed by their source names, in the same shape as the other v3 box-score flavors.",
|
|
587135
|
-
"operationId": "nba-box-score-defensive",
|
|
587136
|
-
"parameters": [
|
|
587137
|
-
{
|
|
587138
|
-
"description": "Ten-digit game id from nba-scoreboard",
|
|
587139
|
-
"in": "query",
|
|
587140
|
-
"name": "game_id",
|
|
587141
|
-
"required": true,
|
|
587142
|
-
"type": "string",
|
|
587143
|
-
"x-example": "0022600196"
|
|
587293
|
+
"x-example": 10
|
|
587144
587294
|
}
|
|
587145
587295
|
],
|
|
587146
587296
|
"produces": [
|
|
@@ -587157,7 +587307,7 @@
|
|
|
587157
587307
|
{
|
|
587158
587308
|
"properties": {
|
|
587159
587309
|
"data": {
|
|
587160
|
-
"$ref": "#/definitions/nba.
|
|
587310
|
+
"$ref": "#/definitions/nba.TablesResponse"
|
|
587161
587311
|
}
|
|
587162
587312
|
},
|
|
587163
587313
|
"type": "object"
|
|
@@ -587195,19 +587345,19 @@
|
|
|
587195
587345
|
"ApiKeyAuth": []
|
|
587196
587346
|
}
|
|
587197
587347
|
],
|
|
587198
|
-
"summary": "NBA
|
|
587348
|
+
"summary": "NBA all-time leader grids",
|
|
587199
587349
|
"tags": [
|
|
587200
587350
|
"NBA"
|
|
587201
587351
|
]
|
|
587202
587352
|
}
|
|
587203
587353
|
},
|
|
587204
|
-
"/nba/box-score
|
|
587354
|
+
"/nba/box-score": {
|
|
587205
587355
|
"get": {
|
|
587206
587356
|
"consumes": [
|
|
587207
587357
|
"application/json"
|
|
587208
587358
|
],
|
|
587209
|
-
"description": "Returns the
|
|
587210
|
-
"operationId": "nba-box-score
|
|
587359
|
+
"description": "Returns the traditional box score for one game: both teams and, per team, one row per player with player id, name, jersey number, position, starter flag, minutes, points, rebounds, assists and field goals made. The player ids are the source's stable player identity used by the player-statistics routes.",
|
|
587360
|
+
"operationId": "nba-box-score",
|
|
587211
587361
|
"parameters": [
|
|
587212
587362
|
{
|
|
587213
587363
|
"description": "Ten-digit game id from nba-scoreboard",
|
|
@@ -587228,14 +587378,14 @@
|
|
|
587228
587378
|
"x-example": "00"
|
|
587229
587379
|
},
|
|
587230
587380
|
{
|
|
587231
|
-
"description": "First period to include, 0 to 14; 0 means from the start",
|
|
587381
|
+
"description": "First period to include, 0 to 14; 0 means from the start example(0)",
|
|
587232
587382
|
"in": "query",
|
|
587233
587383
|
"name": "start_period",
|
|
587234
587384
|
"type": "integer",
|
|
587235
587385
|
"x-example": 0
|
|
587236
587386
|
},
|
|
587237
587387
|
{
|
|
587238
|
-
"description": "Last period to include, 0 to 14; 0 means through the end",
|
|
587388
|
+
"description": "Last period to include, 0 to 14; 0 means through the end example(14)",
|
|
587239
587389
|
"in": "query",
|
|
587240
587390
|
"name": "end_period",
|
|
587241
587391
|
"type": "integer",
|
|
@@ -587256,7 +587406,7 @@
|
|
|
587256
587406
|
{
|
|
587257
587407
|
"properties": {
|
|
587258
587408
|
"data": {
|
|
587259
|
-
"$ref": "#/definitions/nba.
|
|
587409
|
+
"$ref": "#/definitions/nba.BoxScoreResponse"
|
|
587260
587410
|
}
|
|
587261
587411
|
},
|
|
587262
587412
|
"type": "object"
|
|
@@ -587294,19 +587444,19 @@
|
|
|
587294
587444
|
"ApiKeyAuth": []
|
|
587295
587445
|
}
|
|
587296
587446
|
],
|
|
587297
|
-
"summary": "NBA
|
|
587447
|
+
"summary": "NBA traditional box score for one game",
|
|
587298
587448
|
"tags": [
|
|
587299
587449
|
"NBA"
|
|
587300
587450
|
]
|
|
587301
587451
|
}
|
|
587302
587452
|
},
|
|
587303
|
-
"/nba/box-score-
|
|
587453
|
+
"/nba/box-score-advanced": {
|
|
587304
587454
|
"get": {
|
|
587305
587455
|
"consumes": [
|
|
587306
587456
|
"application/json"
|
|
587307
587457
|
],
|
|
587308
|
-
"description": "Returns the
|
|
587309
|
-
"operationId": "nba-box-score-
|
|
587458
|
+
"description": "Returns the advanced box score for one game: each team's per-player rows with the upstream's own advanced statistics keyed by their source names. Verified statistic keys include netRating, pace and pie; the upstream sends a larger key set (offensive/defensive rating and the percentage family use long names such as offensiveRating and effectiveFieldGoalPercentage) and every key is passed through unchanged rather than projected onto a guessed struct.",
|
|
587459
|
+
"operationId": "nba-box-score-advanced",
|
|
587310
587460
|
"parameters": [
|
|
587311
587461
|
{
|
|
587312
587462
|
"description": "Ten-digit game id from nba-scoreboard",
|
|
@@ -587393,19 +587543,19 @@
|
|
|
587393
587543
|
"ApiKeyAuth": []
|
|
587394
587544
|
}
|
|
587395
587545
|
],
|
|
587396
|
-
"summary": "NBA
|
|
587546
|
+
"summary": "NBA advanced box score for one game",
|
|
587397
587547
|
"tags": [
|
|
587398
587548
|
"NBA"
|
|
587399
587549
|
]
|
|
587400
587550
|
}
|
|
587401
587551
|
},
|
|
587402
|
-
"/nba/box-score-
|
|
587552
|
+
"/nba/box-score-defensive": {
|
|
587403
587553
|
"get": {
|
|
587404
587554
|
"consumes": [
|
|
587405
587555
|
"application/json"
|
|
587406
587556
|
],
|
|
587407
|
-
"description": "Returns the
|
|
587408
|
-
"operationId": "nba-box-score-
|
|
587557
|
+
"description": "Returns the v2 defensive box score for one game: each team's per-player rows with the upstream's defensive statistics keyed by their source names, in the same shape as the other v3 box-score flavors.",
|
|
587558
|
+
"operationId": "nba-box-score-defensive",
|
|
587409
587559
|
"parameters": [
|
|
587410
587560
|
{
|
|
587411
587561
|
"description": "Ten-digit game id from nba-scoreboard",
|
|
@@ -587468,19 +587618,19 @@
|
|
|
587468
587618
|
"ApiKeyAuth": []
|
|
587469
587619
|
}
|
|
587470
587620
|
],
|
|
587471
|
-
"summary": "NBA
|
|
587621
|
+
"summary": "NBA defensive box score",
|
|
587472
587622
|
"tags": [
|
|
587473
587623
|
"NBA"
|
|
587474
587624
|
]
|
|
587475
587625
|
}
|
|
587476
587626
|
},
|
|
587477
|
-
"/nba/box-score-
|
|
587627
|
+
"/nba/box-score-four-factors": {
|
|
587478
587628
|
"get": {
|
|
587479
587629
|
"consumes": [
|
|
587480
587630
|
"application/json"
|
|
587481
587631
|
],
|
|
587482
|
-
"description": "Returns the
|
|
587483
|
-
"operationId": "nba-box-score-
|
|
587632
|
+
"description": "Returns the four-factors box score for one game. Verified statistic keys are effectiveFieldGoalPercentage, freeThrowAttemptRate, teamTurnoverPercentage, offensiveReboundPercentage, oppEffectiveFieldGoalPercentage and oppFreeThrowAttemptRate.",
|
|
587633
|
+
"operationId": "nba-box-score-four-factors",
|
|
587484
587634
|
"parameters": [
|
|
587485
587635
|
{
|
|
587486
587636
|
"description": "Ten-digit game id from nba-scoreboard",
|
|
@@ -587567,22 +587717,22 @@
|
|
|
587567
587717
|
"ApiKeyAuth": []
|
|
587568
587718
|
}
|
|
587569
587719
|
],
|
|
587570
|
-
"summary": "NBA
|
|
587720
|
+
"summary": "NBA four-factors box score for one game",
|
|
587571
587721
|
"tags": [
|
|
587572
587722
|
"NBA"
|
|
587573
587723
|
]
|
|
587574
587724
|
}
|
|
587575
587725
|
},
|
|
587576
|
-
"/nba/box-score-
|
|
587726
|
+
"/nba/box-score-matchups": {
|
|
587577
587727
|
"get": {
|
|
587578
587728
|
"consumes": [
|
|
587579
587729
|
"application/json"
|
|
587580
587730
|
],
|
|
587581
|
-
"description": "Returns the
|
|
587582
|
-
"operationId": "nba-box-score-
|
|
587731
|
+
"description": "Returns the tracked defensive matchups for one game. For each team, every offensive player lists the defenders who guarded him, and each pairing carries the source's own statistics keys: matchupMinutes, matchupMinutesSort, partialPossessions, percentageDefenderTotalTime, percentageOffensiveTotalTime, percentageTotalTimeBothOn, switchesOn, playerPoints, teamPoints, matchupAssists, matchupPotentialAssists, matchupTurnovers, matchupBlocks, the matchup field-goal, three-point and free-throw counts and percentages, helpBlocks, the help field-goal counts and shootingFouls. The upstream ignores period filters on this class, so the whole game is always returned.",
|
|
587732
|
+
"operationId": "nba-box-score-matchups",
|
|
587583
587733
|
"parameters": [
|
|
587584
587734
|
{
|
|
587585
|
-
"description": "Ten-digit game id from nba-scoreboard",
|
|
587735
|
+
"description": "Ten-digit game id from nba-scoreboard or nba-game-finder",
|
|
587586
587736
|
"in": "query",
|
|
587587
587737
|
"name": "game_id",
|
|
587588
587738
|
"required": true,
|
|
@@ -587604,7 +587754,7 @@
|
|
|
587604
587754
|
{
|
|
587605
587755
|
"properties": {
|
|
587606
587756
|
"data": {
|
|
587607
|
-
"$ref": "#/definitions/nba.
|
|
587757
|
+
"$ref": "#/definitions/nba.MatchupsResponse"
|
|
587608
587758
|
}
|
|
587609
587759
|
},
|
|
587610
587760
|
"type": "object"
|
|
@@ -587642,19 +587792,19 @@
|
|
|
587642
587792
|
"ApiKeyAuth": []
|
|
587643
587793
|
}
|
|
587644
587794
|
],
|
|
587645
|
-
"summary": "
|
|
587795
|
+
"summary": "NBA player-versus-player defensive matchups for one game",
|
|
587646
587796
|
"tags": [
|
|
587647
587797
|
"NBA"
|
|
587648
587798
|
]
|
|
587649
587799
|
}
|
|
587650
587800
|
},
|
|
587651
|
-
"/nba/box-score-
|
|
587801
|
+
"/nba/box-score-misc": {
|
|
587652
587802
|
"get": {
|
|
587653
587803
|
"consumes": [
|
|
587654
587804
|
"application/json"
|
|
587655
587805
|
],
|
|
587656
|
-
"description": "Returns the
|
|
587657
|
-
"operationId": "nba-box-score-
|
|
587806
|
+
"description": "Returns the miscellaneous box score for one game: points off turnovers, second chance and fast-break points, paint points, opponent points off turnovers, blocks, blocks against, personal fouls and fouls drawn. All of those keys are verified on this flavor.",
|
|
587807
|
+
"operationId": "nba-box-score-misc",
|
|
587658
587808
|
"parameters": [
|
|
587659
587809
|
{
|
|
587660
587810
|
"description": "Ten-digit game id from nba-scoreboard",
|
|
@@ -587741,42 +587891,27 @@
|
|
|
587741
587891
|
"ApiKeyAuth": []
|
|
587742
587892
|
}
|
|
587743
587893
|
],
|
|
587744
|
-
"summary": "NBA
|
|
587894
|
+
"summary": "NBA miscellaneous box score for one game",
|
|
587745
587895
|
"tags": [
|
|
587746
587896
|
"NBA"
|
|
587747
587897
|
]
|
|
587748
587898
|
}
|
|
587749
587899
|
},
|
|
587750
|
-
"/nba/
|
|
587900
|
+
"/nba/box-score-player-track": {
|
|
587751
587901
|
"get": {
|
|
587752
587902
|
"consumes": [
|
|
587753
587903
|
"application/json"
|
|
587754
587904
|
],
|
|
587755
|
-
"description": "Returns the
|
|
587756
|
-
"operationId": "nba-
|
|
587905
|
+
"description": "Returns the player-tracking box score for one game. Verified statistic keys are speed, distance, touches, passes, secondaryAssists, contestedFieldGoalsMade and uncontestedFieldGoals. Unlike its siblings this flavor answers the game id alone, so it takes no league or period parameters.",
|
|
587906
|
+
"operationId": "nba-box-score-player-track",
|
|
587757
587907
|
"parameters": [
|
|
587758
587908
|
{
|
|
587759
|
-
"description": "
|
|
587760
|
-
"enum": [
|
|
587761
|
-
"00"
|
|
587762
|
-
],
|
|
587763
|
-
"in": "query",
|
|
587764
|
-
"name": "league_id",
|
|
587765
|
-
"type": "string",
|
|
587766
|
-
"x-example": "00"
|
|
587767
|
-
},
|
|
587768
|
-
{
|
|
587769
|
-
"description": "Season in YYYY-YY form; defaults to the current NBA season",
|
|
587909
|
+
"description": "Ten-digit game id from nba-scoreboard",
|
|
587770
587910
|
"in": "query",
|
|
587771
|
-
"name": "
|
|
587911
|
+
"name": "game_id",
|
|
587912
|
+
"required": true,
|
|
587772
587913
|
"type": "string",
|
|
587773
|
-
"x-example": "
|
|
587774
|
-
},
|
|
587775
|
-
{
|
|
587776
|
-
"description": "When true, only players on a current roster are returned",
|
|
587777
|
-
"in": "query",
|
|
587778
|
-
"name": "is_only_current_season",
|
|
587779
|
-
"type": "boolean"
|
|
587914
|
+
"x-example": "0022600196"
|
|
587780
587915
|
}
|
|
587781
587916
|
],
|
|
587782
587917
|
"produces": [
|
|
@@ -587793,7 +587928,370 @@
|
|
|
587793
587928
|
{
|
|
587794
587929
|
"properties": {
|
|
587795
587930
|
"data": {
|
|
587796
|
-
"$ref": "#/definitions/nba.
|
|
587931
|
+
"$ref": "#/definitions/nba.BoxScoreStatsResponse"
|
|
587932
|
+
}
|
|
587933
|
+
},
|
|
587934
|
+
"type": "object"
|
|
587935
|
+
}
|
|
587936
|
+
]
|
|
587937
|
+
}
|
|
587938
|
+
},
|
|
587939
|
+
"400": {
|
|
587940
|
+
"description": "Bad Request",
|
|
587941
|
+
"schema": {
|
|
587942
|
+
"$ref": "#/definitions/app.Response"
|
|
587943
|
+
}
|
|
587944
|
+
},
|
|
587945
|
+
"404": {
|
|
587946
|
+
"description": "Not Found",
|
|
587947
|
+
"schema": {
|
|
587948
|
+
"$ref": "#/definitions/app.Response"
|
|
587949
|
+
}
|
|
587950
|
+
},
|
|
587951
|
+
"429": {
|
|
587952
|
+
"description": "Too Many Requests",
|
|
587953
|
+
"schema": {
|
|
587954
|
+
"$ref": "#/definitions/app.Response"
|
|
587955
|
+
}
|
|
587956
|
+
},
|
|
587957
|
+
"503": {
|
|
587958
|
+
"description": "Service Unavailable",
|
|
587959
|
+
"schema": {
|
|
587960
|
+
"$ref": "#/definitions/app.Response"
|
|
587961
|
+
}
|
|
587962
|
+
}
|
|
587963
|
+
},
|
|
587964
|
+
"security": [
|
|
587965
|
+
{
|
|
587966
|
+
"ApiKeyAuth": []
|
|
587967
|
+
}
|
|
587968
|
+
],
|
|
587969
|
+
"summary": "NBA player-tracking box score for one game",
|
|
587970
|
+
"tags": [
|
|
587971
|
+
"NBA"
|
|
587972
|
+
]
|
|
587973
|
+
}
|
|
587974
|
+
},
|
|
587975
|
+
"/nba/box-score-scoring": {
|
|
587976
|
+
"get": {
|
|
587977
|
+
"consumes": [
|
|
587978
|
+
"application/json"
|
|
587979
|
+
],
|
|
587980
|
+
"description": "Returns the scoring-distribution box score for one game. Verified statistic keys are percentageFieldGoalsAttempted2pt, percentageFieldGoalsAttempted3pt, percentagePoints2pt, percentagePoints3pt, percentagePointsFastBreak and percentagePointsPaint.",
|
|
587981
|
+
"operationId": "nba-box-score-scoring",
|
|
587982
|
+
"parameters": [
|
|
587983
|
+
{
|
|
587984
|
+
"description": "Ten-digit game id from nba-scoreboard",
|
|
587985
|
+
"in": "query",
|
|
587986
|
+
"name": "game_id",
|
|
587987
|
+
"required": true,
|
|
587988
|
+
"type": "string",
|
|
587989
|
+
"x-example": "0022600196"
|
|
587990
|
+
},
|
|
587991
|
+
{
|
|
587992
|
+
"description": "League id; only 00 (NBA) is verified",
|
|
587993
|
+
"enum": [
|
|
587994
|
+
"00"
|
|
587995
|
+
],
|
|
587996
|
+
"in": "query",
|
|
587997
|
+
"name": "league_id",
|
|
587998
|
+
"type": "string",
|
|
587999
|
+
"x-example": "00"
|
|
588000
|
+
},
|
|
588001
|
+
{
|
|
588002
|
+
"description": "First period to include, 0 to 14; 0 means from the start",
|
|
588003
|
+
"in": "query",
|
|
588004
|
+
"name": "start_period",
|
|
588005
|
+
"type": "integer",
|
|
588006
|
+
"x-example": 0
|
|
588007
|
+
},
|
|
588008
|
+
{
|
|
588009
|
+
"description": "Last period to include, 0 to 14; 0 means through the end",
|
|
588010
|
+
"in": "query",
|
|
588011
|
+
"name": "end_period",
|
|
588012
|
+
"type": "integer",
|
|
588013
|
+
"x-example": 14
|
|
588014
|
+
}
|
|
588015
|
+
],
|
|
588016
|
+
"produces": [
|
|
588017
|
+
"application/json"
|
|
588018
|
+
],
|
|
588019
|
+
"responses": {
|
|
588020
|
+
"200": {
|
|
588021
|
+
"description": "OK",
|
|
588022
|
+
"schema": {
|
|
588023
|
+
"allOf": [
|
|
588024
|
+
{
|
|
588025
|
+
"$ref": "#/definitions/app.Response"
|
|
588026
|
+
},
|
|
588027
|
+
{
|
|
588028
|
+
"properties": {
|
|
588029
|
+
"data": {
|
|
588030
|
+
"$ref": "#/definitions/nba.BoxScoreStatsResponse"
|
|
588031
|
+
}
|
|
588032
|
+
},
|
|
588033
|
+
"type": "object"
|
|
588034
|
+
}
|
|
588035
|
+
]
|
|
588036
|
+
}
|
|
588037
|
+
},
|
|
588038
|
+
"400": {
|
|
588039
|
+
"description": "Bad Request",
|
|
588040
|
+
"schema": {
|
|
588041
|
+
"$ref": "#/definitions/app.Response"
|
|
588042
|
+
}
|
|
588043
|
+
},
|
|
588044
|
+
"404": {
|
|
588045
|
+
"description": "Not Found",
|
|
588046
|
+
"schema": {
|
|
588047
|
+
"$ref": "#/definitions/app.Response"
|
|
588048
|
+
}
|
|
588049
|
+
},
|
|
588050
|
+
"429": {
|
|
588051
|
+
"description": "Too Many Requests",
|
|
588052
|
+
"schema": {
|
|
588053
|
+
"$ref": "#/definitions/app.Response"
|
|
588054
|
+
}
|
|
588055
|
+
},
|
|
588056
|
+
"503": {
|
|
588057
|
+
"description": "Service Unavailable",
|
|
588058
|
+
"schema": {
|
|
588059
|
+
"$ref": "#/definitions/app.Response"
|
|
588060
|
+
}
|
|
588061
|
+
}
|
|
588062
|
+
},
|
|
588063
|
+
"security": [
|
|
588064
|
+
{
|
|
588065
|
+
"ApiKeyAuth": []
|
|
588066
|
+
}
|
|
588067
|
+
],
|
|
588068
|
+
"summary": "NBA scoring-distribution box score for one game",
|
|
588069
|
+
"tags": [
|
|
588070
|
+
"NBA"
|
|
588071
|
+
]
|
|
588072
|
+
}
|
|
588073
|
+
},
|
|
588074
|
+
"/nba/box-score-summary": {
|
|
588075
|
+
"get": {
|
|
588076
|
+
"consumes": [
|
|
588077
|
+
"application/json"
|
|
588078
|
+
],
|
|
588079
|
+
"description": "Returns the game summary tables for one game: the game summary itself plus the other summary result sets the upstream returns (line scores and officials among them).",
|
|
588080
|
+
"operationId": "nba-box-score-summary",
|
|
588081
|
+
"parameters": [
|
|
588082
|
+
{
|
|
588083
|
+
"description": "Ten-digit game id from nba-scoreboard",
|
|
588084
|
+
"in": "query",
|
|
588085
|
+
"name": "game_id",
|
|
588086
|
+
"required": true,
|
|
588087
|
+
"type": "string",
|
|
588088
|
+
"x-example": "0022600196"
|
|
588089
|
+
}
|
|
588090
|
+
],
|
|
588091
|
+
"produces": [
|
|
588092
|
+
"application/json"
|
|
588093
|
+
],
|
|
588094
|
+
"responses": {
|
|
588095
|
+
"200": {
|
|
588096
|
+
"description": "OK",
|
|
588097
|
+
"schema": {
|
|
588098
|
+
"allOf": [
|
|
588099
|
+
{
|
|
588100
|
+
"$ref": "#/definitions/app.Response"
|
|
588101
|
+
},
|
|
588102
|
+
{
|
|
588103
|
+
"properties": {
|
|
588104
|
+
"data": {
|
|
588105
|
+
"$ref": "#/definitions/nba.TablesResponse"
|
|
588106
|
+
}
|
|
588107
|
+
},
|
|
588108
|
+
"type": "object"
|
|
588109
|
+
}
|
|
588110
|
+
]
|
|
588111
|
+
}
|
|
588112
|
+
},
|
|
588113
|
+
"400": {
|
|
588114
|
+
"description": "Bad Request",
|
|
588115
|
+
"schema": {
|
|
588116
|
+
"$ref": "#/definitions/app.Response"
|
|
588117
|
+
}
|
|
588118
|
+
},
|
|
588119
|
+
"404": {
|
|
588120
|
+
"description": "Not Found",
|
|
588121
|
+
"schema": {
|
|
588122
|
+
"$ref": "#/definitions/app.Response"
|
|
588123
|
+
}
|
|
588124
|
+
},
|
|
588125
|
+
"429": {
|
|
588126
|
+
"description": "Too Many Requests",
|
|
588127
|
+
"schema": {
|
|
588128
|
+
"$ref": "#/definitions/app.Response"
|
|
588129
|
+
}
|
|
588130
|
+
},
|
|
588131
|
+
"503": {
|
|
588132
|
+
"description": "Service Unavailable",
|
|
588133
|
+
"schema": {
|
|
588134
|
+
"$ref": "#/definitions/app.Response"
|
|
588135
|
+
}
|
|
588136
|
+
}
|
|
588137
|
+
},
|
|
588138
|
+
"security": [
|
|
588139
|
+
{
|
|
588140
|
+
"ApiKeyAuth": []
|
|
588141
|
+
}
|
|
588142
|
+
],
|
|
588143
|
+
"summary": "Returns the game summary tables for one game: the game summary itself plus the other summary result sets the upstream returns (line scores and officials among them)",
|
|
588144
|
+
"tags": [
|
|
588145
|
+
"NBA"
|
|
588146
|
+
]
|
|
588147
|
+
}
|
|
588148
|
+
},
|
|
588149
|
+
"/nba/box-score-usage": {
|
|
588150
|
+
"get": {
|
|
588151
|
+
"consumes": [
|
|
588152
|
+
"application/json"
|
|
588153
|
+
],
|
|
588154
|
+
"description": "Returns the usage box score for one game: each team's per-player rows with the upstream's usage statistics. Verified statistic keys are usagePercentage, percentageFieldGoalsAttempted, percentageFreeThrowsAttempted, percentageAssists, percentageTurnovers, percentageRebounds and percentagePoints.",
|
|
588155
|
+
"operationId": "nba-box-score-usage",
|
|
588156
|
+
"parameters": [
|
|
588157
|
+
{
|
|
588158
|
+
"description": "Ten-digit game id from nba-scoreboard",
|
|
588159
|
+
"in": "query",
|
|
588160
|
+
"name": "game_id",
|
|
588161
|
+
"required": true,
|
|
588162
|
+
"type": "string",
|
|
588163
|
+
"x-example": "0022600196"
|
|
588164
|
+
},
|
|
588165
|
+
{
|
|
588166
|
+
"description": "League id; only 00 (NBA) is verified",
|
|
588167
|
+
"enum": [
|
|
588168
|
+
"00"
|
|
588169
|
+
],
|
|
588170
|
+
"in": "query",
|
|
588171
|
+
"name": "league_id",
|
|
588172
|
+
"type": "string",
|
|
588173
|
+
"x-example": "00"
|
|
588174
|
+
},
|
|
588175
|
+
{
|
|
588176
|
+
"description": "First period to include, 0 to 14; 0 means from the start",
|
|
588177
|
+
"in": "query",
|
|
588178
|
+
"name": "start_period",
|
|
588179
|
+
"type": "integer",
|
|
588180
|
+
"x-example": 0
|
|
588181
|
+
},
|
|
588182
|
+
{
|
|
588183
|
+
"description": "Last period to include, 0 to 14; 0 means through the end",
|
|
588184
|
+
"in": "query",
|
|
588185
|
+
"name": "end_period",
|
|
588186
|
+
"type": "integer",
|
|
588187
|
+
"x-example": 14
|
|
588188
|
+
}
|
|
588189
|
+
],
|
|
588190
|
+
"produces": [
|
|
588191
|
+
"application/json"
|
|
588192
|
+
],
|
|
588193
|
+
"responses": {
|
|
588194
|
+
"200": {
|
|
588195
|
+
"description": "OK",
|
|
588196
|
+
"schema": {
|
|
588197
|
+
"allOf": [
|
|
588198
|
+
{
|
|
588199
|
+
"$ref": "#/definitions/app.Response"
|
|
588200
|
+
},
|
|
588201
|
+
{
|
|
588202
|
+
"properties": {
|
|
588203
|
+
"data": {
|
|
588204
|
+
"$ref": "#/definitions/nba.BoxScoreStatsResponse"
|
|
588205
|
+
}
|
|
588206
|
+
},
|
|
588207
|
+
"type": "object"
|
|
588208
|
+
}
|
|
588209
|
+
]
|
|
588210
|
+
}
|
|
588211
|
+
},
|
|
588212
|
+
"400": {
|
|
588213
|
+
"description": "Bad Request",
|
|
588214
|
+
"schema": {
|
|
588215
|
+
"$ref": "#/definitions/app.Response"
|
|
588216
|
+
}
|
|
588217
|
+
},
|
|
588218
|
+
"404": {
|
|
588219
|
+
"description": "Not Found",
|
|
588220
|
+
"schema": {
|
|
588221
|
+
"$ref": "#/definitions/app.Response"
|
|
588222
|
+
}
|
|
588223
|
+
},
|
|
588224
|
+
"429": {
|
|
588225
|
+
"description": "Too Many Requests",
|
|
588226
|
+
"schema": {
|
|
588227
|
+
"$ref": "#/definitions/app.Response"
|
|
588228
|
+
}
|
|
588229
|
+
},
|
|
588230
|
+
"503": {
|
|
588231
|
+
"description": "Service Unavailable",
|
|
588232
|
+
"schema": {
|
|
588233
|
+
"$ref": "#/definitions/app.Response"
|
|
588234
|
+
}
|
|
588235
|
+
}
|
|
588236
|
+
},
|
|
588237
|
+
"security": [
|
|
588238
|
+
{
|
|
588239
|
+
"ApiKeyAuth": []
|
|
588240
|
+
}
|
|
588241
|
+
],
|
|
588242
|
+
"summary": "NBA usage box score for one game",
|
|
588243
|
+
"tags": [
|
|
588244
|
+
"NBA"
|
|
588245
|
+
]
|
|
588246
|
+
}
|
|
588247
|
+
},
|
|
588248
|
+
"/nba/common-all-players": {
|
|
588249
|
+
"get": {
|
|
588250
|
+
"consumes": [
|
|
588251
|
+
"application/json"
|
|
588252
|
+
],
|
|
588253
|
+
"description": "Returns the league's complete player listing for a season (the CommonAllPlayers table). Verified columns are PERSON_ID, DISPLAY_FIRST_LAST, ROSTERSTATUS, TEAM_ID, TEAM_NAME, TEAM_ABBREVIATION and PLAYERCODE. This is the widest player listing in the family; use nba-players when you want the index with roster attributes, and this route when you need the historical-to-current player set.",
|
|
588254
|
+
"operationId": "nba-common-all-players",
|
|
588255
|
+
"parameters": [
|
|
588256
|
+
{
|
|
588257
|
+
"description": "League id; only 00 (NBA) is verified",
|
|
588258
|
+
"enum": [
|
|
588259
|
+
"00"
|
|
588260
|
+
],
|
|
588261
|
+
"in": "query",
|
|
588262
|
+
"name": "league_id",
|
|
588263
|
+
"type": "string",
|
|
588264
|
+
"x-example": "00"
|
|
588265
|
+
},
|
|
588266
|
+
{
|
|
588267
|
+
"description": "Season in YYYY-YY form; defaults to the current NBA season",
|
|
588268
|
+
"in": "query",
|
|
588269
|
+
"name": "season",
|
|
588270
|
+
"type": "string",
|
|
588271
|
+
"x-example": "2026-27"
|
|
588272
|
+
},
|
|
588273
|
+
{
|
|
588274
|
+
"description": "When true, only players on a current roster are returned",
|
|
588275
|
+
"in": "query",
|
|
588276
|
+
"name": "is_only_current_season",
|
|
588277
|
+
"type": "boolean"
|
|
588278
|
+
}
|
|
588279
|
+
],
|
|
588280
|
+
"produces": [
|
|
588281
|
+
"application/json"
|
|
588282
|
+
],
|
|
588283
|
+
"responses": {
|
|
588284
|
+
"200": {
|
|
588285
|
+
"description": "OK",
|
|
588286
|
+
"schema": {
|
|
588287
|
+
"allOf": [
|
|
588288
|
+
{
|
|
588289
|
+
"$ref": "#/definitions/app.Response"
|
|
588290
|
+
},
|
|
588291
|
+
{
|
|
588292
|
+
"properties": {
|
|
588293
|
+
"data": {
|
|
588294
|
+
"$ref": "#/definitions/nba.TablesResponse"
|
|
587797
588295
|
}
|
|
587798
588296
|
},
|
|
587799
588297
|
"type": "object"
|
|
@@ -587837,6 +588335,90 @@
|
|
|
587837
588335
|
]
|
|
587838
588336
|
}
|
|
587839
588337
|
},
|
|
588338
|
+
"/nba/cup-standings": {
|
|
588339
|
+
"get": {
|
|
588340
|
+
"consumes": [
|
|
588341
|
+
"application/json"
|
|
588342
|
+
],
|
|
588343
|
+
"description": "Returns the NBA Cup standings for one season: every team with its conference, Cup group, clinch indicator and flags (clinchedIstKnockout, clinchedIstGroup, clinchedIstWildcard), group, wildcard and knockout ranks, wins, losses, pct, games behind, point differential, points for and against, and its Cup games with opponent, location, status and outcome. Team rows keep the source's own keys. The first Cup season was 2023-24.",
|
|
588344
|
+
"operationId": "nba-cup-standings",
|
|
588345
|
+
"parameters": [
|
|
588346
|
+
{
|
|
588347
|
+
"description": "League id; only 00 (NBA) is verified",
|
|
588348
|
+
"enum": [
|
|
588349
|
+
"00"
|
|
588350
|
+
],
|
|
588351
|
+
"in": "query",
|
|
588352
|
+
"name": "league_id",
|
|
588353
|
+
"type": "string",
|
|
588354
|
+
"x-example": "00"
|
|
588355
|
+
},
|
|
588356
|
+
{
|
|
588357
|
+
"description": "Season in YYYY-YY form from 2023-24 on; defaults to the current season",
|
|
588358
|
+
"in": "query",
|
|
588359
|
+
"name": "season",
|
|
588360
|
+
"type": "string",
|
|
588361
|
+
"x-example": "2025-26"
|
|
588362
|
+
}
|
|
588363
|
+
],
|
|
588364
|
+
"produces": [
|
|
588365
|
+
"application/json"
|
|
588366
|
+
],
|
|
588367
|
+
"responses": {
|
|
588368
|
+
"200": {
|
|
588369
|
+
"description": "OK",
|
|
588370
|
+
"schema": {
|
|
588371
|
+
"allOf": [
|
|
588372
|
+
{
|
|
588373
|
+
"$ref": "#/definitions/app.Response"
|
|
588374
|
+
},
|
|
588375
|
+
{
|
|
588376
|
+
"properties": {
|
|
588377
|
+
"data": {
|
|
588378
|
+
"$ref": "#/definitions/nba.CupStandingsResponse"
|
|
588379
|
+
}
|
|
588380
|
+
},
|
|
588381
|
+
"type": "object"
|
|
588382
|
+
}
|
|
588383
|
+
]
|
|
588384
|
+
}
|
|
588385
|
+
},
|
|
588386
|
+
"400": {
|
|
588387
|
+
"description": "Bad Request",
|
|
588388
|
+
"schema": {
|
|
588389
|
+
"$ref": "#/definitions/app.Response"
|
|
588390
|
+
}
|
|
588391
|
+
},
|
|
588392
|
+
"404": {
|
|
588393
|
+
"description": "Not Found",
|
|
588394
|
+
"schema": {
|
|
588395
|
+
"$ref": "#/definitions/app.Response"
|
|
588396
|
+
}
|
|
588397
|
+
},
|
|
588398
|
+
"429": {
|
|
588399
|
+
"description": "Too Many Requests",
|
|
588400
|
+
"schema": {
|
|
588401
|
+
"$ref": "#/definitions/app.Response"
|
|
588402
|
+
}
|
|
588403
|
+
},
|
|
588404
|
+
"503": {
|
|
588405
|
+
"description": "Service Unavailable",
|
|
588406
|
+
"schema": {
|
|
588407
|
+
"$ref": "#/definitions/app.Response"
|
|
588408
|
+
}
|
|
588409
|
+
}
|
|
588410
|
+
},
|
|
588411
|
+
"security": [
|
|
588412
|
+
{
|
|
588413
|
+
"ApiKeyAuth": []
|
|
588414
|
+
}
|
|
588415
|
+
],
|
|
588416
|
+
"summary": "NBA Cup (in-season tournament) standings",
|
|
588417
|
+
"tags": [
|
|
588418
|
+
"NBA"
|
|
588419
|
+
]
|
|
588420
|
+
}
|
|
588421
|
+
},
|
|
587840
588422
|
"/nba/draft-combine-anthro": {
|
|
587841
588423
|
"get": {
|
|
587842
588424
|
"consumes": [
|
|
@@ -587916,67 +588498,1148 @@
|
|
|
587916
588498
|
"ApiKeyAuth": []
|
|
587917
588499
|
}
|
|
587918
588500
|
],
|
|
587919
|
-
"summary": "NBA draft combine anthropometric measurements",
|
|
587920
|
-
"tags": [
|
|
587921
|
-
"NBA"
|
|
587922
|
-
]
|
|
587923
|
-
}
|
|
587924
|
-
},
|
|
587925
|
-
"/nba/
|
|
587926
|
-
"get": {
|
|
587927
|
-
"consumes": [
|
|
587928
|
-
"application/json"
|
|
587929
|
-
],
|
|
587930
|
-
"description": "Returns the
|
|
587931
|
-
"operationId": "nba-
|
|
587932
|
-
"
|
|
587933
|
-
|
|
587934
|
-
|
|
587935
|
-
|
|
587936
|
-
|
|
587937
|
-
"
|
|
587938
|
-
"
|
|
587939
|
-
|
|
587940
|
-
|
|
587941
|
-
|
|
587942
|
-
|
|
587943
|
-
|
|
587944
|
-
|
|
587945
|
-
|
|
587946
|
-
|
|
587947
|
-
|
|
587948
|
-
|
|
587949
|
-
|
|
587950
|
-
|
|
587951
|
-
|
|
587952
|
-
|
|
587953
|
-
|
|
587954
|
-
|
|
587955
|
-
|
|
587956
|
-
|
|
587957
|
-
|
|
587958
|
-
|
|
587959
|
-
|
|
587960
|
-
|
|
587961
|
-
|
|
587962
|
-
|
|
587963
|
-
|
|
587964
|
-
|
|
587965
|
-
|
|
587966
|
-
|
|
588501
|
+
"summary": "NBA draft combine anthropometric measurements",
|
|
588502
|
+
"tags": [
|
|
588503
|
+
"NBA"
|
|
588504
|
+
]
|
|
588505
|
+
}
|
|
588506
|
+
},
|
|
588507
|
+
"/nba/draft-combine-drills": {
|
|
588508
|
+
"get": {
|
|
588509
|
+
"consumes": [
|
|
588510
|
+
"application/json"
|
|
588511
|
+
],
|
|
588512
|
+
"description": "Returns the draft combine drill results for one draft class: one row per prospect with TEMP_PLAYER_ID, PLAYER_ID, FIRST_NAME, LAST_NAME, PLAYER_NAME, POSITION, STANDING_VERTICAL_LEAP, MAX_VERTICAL_LEAP, LANE_AGILITY_TIME, MODIFIED_LANE_AGILITY_TIME, THREE_QUARTER_SPRINT and BENCH_PRESS. A prospect who skipped a drill has a null value.",
|
|
588513
|
+
"operationId": "nba-draft-combine-drills",
|
|
588514
|
+
"parameters": [
|
|
588515
|
+
{
|
|
588516
|
+
"description": "Four-digit draft year",
|
|
588517
|
+
"in": "query",
|
|
588518
|
+
"name": "season_year",
|
|
588519
|
+
"required": true,
|
|
588520
|
+
"type": "string",
|
|
588521
|
+
"x-example": "2025"
|
|
588522
|
+
},
|
|
588523
|
+
{
|
|
588524
|
+
"description": "League id; only 00 (NBA) is verified",
|
|
588525
|
+
"enum": [
|
|
588526
|
+
"00"
|
|
588527
|
+
],
|
|
588528
|
+
"in": "query",
|
|
588529
|
+
"name": "league_id",
|
|
588530
|
+
"type": "string",
|
|
588531
|
+
"x-example": "00"
|
|
588532
|
+
}
|
|
588533
|
+
],
|
|
588534
|
+
"produces": [
|
|
588535
|
+
"application/json"
|
|
588536
|
+
],
|
|
588537
|
+
"responses": {
|
|
588538
|
+
"200": {
|
|
588539
|
+
"description": "OK",
|
|
588540
|
+
"schema": {
|
|
588541
|
+
"allOf": [
|
|
588542
|
+
{
|
|
588543
|
+
"$ref": "#/definitions/app.Response"
|
|
588544
|
+
},
|
|
588545
|
+
{
|
|
588546
|
+
"properties": {
|
|
588547
|
+
"data": {
|
|
588548
|
+
"$ref": "#/definitions/nba.TablesResponse"
|
|
588549
|
+
}
|
|
588550
|
+
},
|
|
588551
|
+
"type": "object"
|
|
588552
|
+
}
|
|
588553
|
+
]
|
|
588554
|
+
}
|
|
588555
|
+
},
|
|
588556
|
+
"400": {
|
|
588557
|
+
"description": "Bad Request",
|
|
588558
|
+
"schema": {
|
|
588559
|
+
"$ref": "#/definitions/app.Response"
|
|
588560
|
+
}
|
|
588561
|
+
},
|
|
588562
|
+
"404": {
|
|
588563
|
+
"description": "Not Found",
|
|
588564
|
+
"schema": {
|
|
588565
|
+
"$ref": "#/definitions/app.Response"
|
|
588566
|
+
}
|
|
588567
|
+
},
|
|
588568
|
+
"429": {
|
|
588569
|
+
"description": "Too Many Requests",
|
|
588570
|
+
"schema": {
|
|
588571
|
+
"$ref": "#/definitions/app.Response"
|
|
588572
|
+
}
|
|
588573
|
+
},
|
|
588574
|
+
"503": {
|
|
588575
|
+
"description": "Service Unavailable",
|
|
588576
|
+
"schema": {
|
|
588577
|
+
"$ref": "#/definitions/app.Response"
|
|
588578
|
+
}
|
|
588579
|
+
}
|
|
588580
|
+
},
|
|
588581
|
+
"security": [
|
|
588582
|
+
{
|
|
588583
|
+
"ApiKeyAuth": []
|
|
588584
|
+
}
|
|
588585
|
+
],
|
|
588586
|
+
"summary": "NBA draft combine strength and agility drills",
|
|
588587
|
+
"tags": [
|
|
588588
|
+
"NBA"
|
|
588589
|
+
]
|
|
588590
|
+
}
|
|
588591
|
+
},
|
|
588592
|
+
"/nba/draft-combine-spot-shooting": {
|
|
588593
|
+
"get": {
|
|
588594
|
+
"consumes": [
|
|
588595
|
+
"application/json"
|
|
588596
|
+
],
|
|
588597
|
+
"description": "Returns the draft combine shooting results for one draft class: one row per prospect with TEMP_PLAYER_ID, PLAYER_ID, FIRST_NAME, LAST_NAME, PLAYER_NAME and POSITION, then made, attempted and percentage columns for each court spot (corner left, break left, top of the key, break right, corner right) at fifteen-foot, college and NBA range, for example FIFTEEN_CORNER_LEFT_MADE, COLLEGE_TOP_KEY_MADE and NBA_BREAK_RIGHT_MADE, followed by the off-dribble and on-the-move drill columns. Columns keep the source's own names.",
|
|
588598
|
+
"operationId": "nba-draft-combine-spot-shooting",
|
|
588599
|
+
"parameters": [
|
|
588600
|
+
{
|
|
588601
|
+
"description": "Four-digit draft year",
|
|
588602
|
+
"in": "query",
|
|
588603
|
+
"name": "season_year",
|
|
588604
|
+
"required": true,
|
|
588605
|
+
"type": "string",
|
|
588606
|
+
"x-example": "2025"
|
|
588607
|
+
},
|
|
588608
|
+
{
|
|
588609
|
+
"description": "League id; only 00 (NBA) is verified",
|
|
588610
|
+
"enum": [
|
|
588611
|
+
"00"
|
|
588612
|
+
],
|
|
588613
|
+
"in": "query",
|
|
588614
|
+
"name": "league_id",
|
|
588615
|
+
"type": "string",
|
|
588616
|
+
"x-example": "00"
|
|
588617
|
+
}
|
|
588618
|
+
],
|
|
588619
|
+
"produces": [
|
|
588620
|
+
"application/json"
|
|
588621
|
+
],
|
|
588622
|
+
"responses": {
|
|
588623
|
+
"200": {
|
|
588624
|
+
"description": "OK",
|
|
588625
|
+
"schema": {
|
|
588626
|
+
"allOf": [
|
|
588627
|
+
{
|
|
588628
|
+
"$ref": "#/definitions/app.Response"
|
|
588629
|
+
},
|
|
588630
|
+
{
|
|
588631
|
+
"properties": {
|
|
588632
|
+
"data": {
|
|
588633
|
+
"$ref": "#/definitions/nba.TablesResponse"
|
|
588634
|
+
}
|
|
588635
|
+
},
|
|
588636
|
+
"type": "object"
|
|
588637
|
+
}
|
|
588638
|
+
]
|
|
588639
|
+
}
|
|
588640
|
+
},
|
|
588641
|
+
"400": {
|
|
588642
|
+
"description": "Bad Request",
|
|
588643
|
+
"schema": {
|
|
588644
|
+
"$ref": "#/definitions/app.Response"
|
|
588645
|
+
}
|
|
588646
|
+
},
|
|
588647
|
+
"404": {
|
|
588648
|
+
"description": "Not Found",
|
|
588649
|
+
"schema": {
|
|
588650
|
+
"$ref": "#/definitions/app.Response"
|
|
588651
|
+
}
|
|
588652
|
+
},
|
|
588653
|
+
"429": {
|
|
588654
|
+
"description": "Too Many Requests",
|
|
588655
|
+
"schema": {
|
|
588656
|
+
"$ref": "#/definitions/app.Response"
|
|
588657
|
+
}
|
|
588658
|
+
},
|
|
588659
|
+
"503": {
|
|
588660
|
+
"description": "Service Unavailable",
|
|
588661
|
+
"schema": {
|
|
588662
|
+
"$ref": "#/definitions/app.Response"
|
|
588663
|
+
}
|
|
588664
|
+
}
|
|
588665
|
+
},
|
|
588666
|
+
"security": [
|
|
588667
|
+
{
|
|
588668
|
+
"ApiKeyAuth": []
|
|
588669
|
+
}
|
|
588670
|
+
],
|
|
588671
|
+
"summary": "NBA draft combine spot shooting",
|
|
588672
|
+
"tags": [
|
|
588673
|
+
"NBA"
|
|
588674
|
+
]
|
|
588675
|
+
}
|
|
588676
|
+
},
|
|
588677
|
+
"/nba/draft-history": {
|
|
588678
|
+
"get": {
|
|
588679
|
+
"consumes": [
|
|
588680
|
+
"application/json"
|
|
588681
|
+
],
|
|
588682
|
+
"description": "Returns draft picks, one row per pick, with PERSON_ID, PLAYER_NAME, SEASON, ROUND_NUMBER, ROUND_PICK, OVERALL_PICK, DRAFT_TYPE, the drafting team (TEAM_ID, TEAM_CITY, TEAM_NAME, TEAM_ABBREVIATION), the player's ORGANIZATION and ORGANIZATION_TYPE, and PLAYER_PROFILE_FLAG. Omit season to list every draft since 1947; each optional filter narrows the list.",
|
|
588683
|
+
"operationId": "nba-draft-history",
|
|
588684
|
+
"parameters": [
|
|
588685
|
+
{
|
|
588686
|
+
"description": "League id; only 00 (NBA) is verified",
|
|
588687
|
+
"enum": [
|
|
588688
|
+
"00"
|
|
588689
|
+
],
|
|
588690
|
+
"in": "query",
|
|
588691
|
+
"name": "league_id",
|
|
588692
|
+
"type": "string",
|
|
588693
|
+
"x-example": "00"
|
|
588694
|
+
},
|
|
588695
|
+
{
|
|
588696
|
+
"description": "Four-digit draft year; omit for every draft",
|
|
588697
|
+
"in": "query",
|
|
588698
|
+
"name": "season",
|
|
588699
|
+
"type": "string",
|
|
588700
|
+
"x-example": "2025"
|
|
588701
|
+
},
|
|
588702
|
+
{
|
|
588703
|
+
"description": "Keeps the picks one team made; from nba-standings",
|
|
588704
|
+
"in": "query",
|
|
588705
|
+
"name": "team_id",
|
|
588706
|
+
"type": "integer",
|
|
588707
|
+
"x-example": 1610612747
|
|
588708
|
+
},
|
|
588709
|
+
{
|
|
588710
|
+
"description": "Draft round, 1 to 10",
|
|
588711
|
+
"in": "query",
|
|
588712
|
+
"maximum": 10,
|
|
588713
|
+
"minimum": 1,
|
|
588714
|
+
"name": "round_num",
|
|
588715
|
+
"type": "integer",
|
|
588716
|
+
"x-example": 1
|
|
588717
|
+
},
|
|
588718
|
+
{
|
|
588719
|
+
"description": "Pick number within the round, 1 to 300",
|
|
588720
|
+
"in": "query",
|
|
588721
|
+
"maximum": 300,
|
|
588722
|
+
"minimum": 1,
|
|
588723
|
+
"name": "round_pick",
|
|
588724
|
+
"type": "integer",
|
|
588725
|
+
"x-example": 1
|
|
588726
|
+
},
|
|
588727
|
+
{
|
|
588728
|
+
"description": "Overall pick number, 1 to 300",
|
|
588729
|
+
"in": "query",
|
|
588730
|
+
"maximum": 300,
|
|
588731
|
+
"minimum": 1,
|
|
588732
|
+
"name": "overall_pick",
|
|
588733
|
+
"type": "integer",
|
|
588734
|
+
"x-example": 1
|
|
588735
|
+
},
|
|
588736
|
+
{
|
|
588737
|
+
"description": "Keeps the first N overall picks of each draft, 1 to 1000",
|
|
588738
|
+
"in": "query",
|
|
588739
|
+
"maximum": 1000,
|
|
588740
|
+
"minimum": 1,
|
|
588741
|
+
"name": "top_x",
|
|
588742
|
+
"type": "integer",
|
|
588743
|
+
"x-example": 5
|
|
588744
|
+
},
|
|
588745
|
+
{
|
|
588746
|
+
"description": "Organization name exactly as the source spells it",
|
|
588747
|
+
"in": "query",
|
|
588748
|
+
"name": "college",
|
|
588749
|
+
"type": "string",
|
|
588750
|
+
"x-example": "Duke"
|
|
588751
|
+
}
|
|
588752
|
+
],
|
|
588753
|
+
"produces": [
|
|
588754
|
+
"application/json"
|
|
588755
|
+
],
|
|
588756
|
+
"responses": {
|
|
588757
|
+
"200": {
|
|
588758
|
+
"description": "OK",
|
|
588759
|
+
"schema": {
|
|
588760
|
+
"allOf": [
|
|
588761
|
+
{
|
|
588762
|
+
"$ref": "#/definitions/app.Response"
|
|
588763
|
+
},
|
|
588764
|
+
{
|
|
588765
|
+
"properties": {
|
|
588766
|
+
"data": {
|
|
588767
|
+
"$ref": "#/definitions/nba.TablesResponse"
|
|
588768
|
+
}
|
|
588769
|
+
},
|
|
588770
|
+
"type": "object"
|
|
588771
|
+
}
|
|
588772
|
+
]
|
|
588773
|
+
}
|
|
588774
|
+
},
|
|
588775
|
+
"400": {
|
|
588776
|
+
"description": "Bad Request",
|
|
588777
|
+
"schema": {
|
|
588778
|
+
"$ref": "#/definitions/app.Response"
|
|
588779
|
+
}
|
|
588780
|
+
},
|
|
588781
|
+
"404": {
|
|
588782
|
+
"description": "Not Found",
|
|
588783
|
+
"schema": {
|
|
588784
|
+
"$ref": "#/definitions/app.Response"
|
|
588785
|
+
}
|
|
588786
|
+
},
|
|
588787
|
+
"429": {
|
|
588788
|
+
"description": "Too Many Requests",
|
|
588789
|
+
"schema": {
|
|
588790
|
+
"$ref": "#/definitions/app.Response"
|
|
588791
|
+
}
|
|
588792
|
+
},
|
|
588793
|
+
"503": {
|
|
588794
|
+
"description": "Service Unavailable",
|
|
588795
|
+
"schema": {
|
|
588796
|
+
"$ref": "#/definitions/app.Response"
|
|
588797
|
+
}
|
|
588798
|
+
}
|
|
588799
|
+
},
|
|
588800
|
+
"security": [
|
|
588801
|
+
{
|
|
588802
|
+
"ApiKeyAuth": []
|
|
588803
|
+
}
|
|
588804
|
+
],
|
|
588805
|
+
"summary": "NBA draft history",
|
|
588806
|
+
"tags": [
|
|
588807
|
+
"NBA"
|
|
588808
|
+
]
|
|
588809
|
+
}
|
|
588810
|
+
},
|
|
588811
|
+
"/nba/enums": {
|
|
588812
|
+
"get": {
|
|
588813
|
+
"consumes": [
|
|
588814
|
+
"application/json"
|
|
588815
|
+
],
|
|
588816
|
+
"description": "Returns the complete pinned request-enum inventory the NBA routes validate locally: league ids, season types (all four upstream values, including Pre Season and All Star), measure types, per modes, leader stat categories, the leaderboard scope, the game-date and season formats, and the values deliberately blocked because they are not verified. The upstream exposes no value-listing endpoint and answers an invalid enum with a bare HTTP 500, so these values are pinned from measured live acceptance and covered by exact-set tests. No upstream call is made.",
|
|
588817
|
+
"operationId": "nba-enums",
|
|
588818
|
+
"produces": [
|
|
588819
|
+
"application/json"
|
|
588820
|
+
],
|
|
588821
|
+
"responses": {
|
|
588822
|
+
"200": {
|
|
588823
|
+
"description": "OK",
|
|
588824
|
+
"schema": {
|
|
588825
|
+
"allOf": [
|
|
588826
|
+
{
|
|
588827
|
+
"$ref": "#/definitions/app.Response"
|
|
588828
|
+
},
|
|
588829
|
+
{
|
|
588830
|
+
"properties": {
|
|
588831
|
+
"data": {
|
|
588832
|
+
"$ref": "#/definitions/nba.EnumsResponse"
|
|
588833
|
+
}
|
|
588834
|
+
},
|
|
588835
|
+
"type": "object"
|
|
588836
|
+
}
|
|
588837
|
+
]
|
|
588838
|
+
}
|
|
588839
|
+
},
|
|
588840
|
+
"503": {
|
|
588841
|
+
"description": "Service Unavailable",
|
|
588842
|
+
"schema": {
|
|
588843
|
+
"$ref": "#/definitions/app.Response"
|
|
588844
|
+
}
|
|
588845
|
+
}
|
|
588846
|
+
},
|
|
588847
|
+
"security": [
|
|
588848
|
+
{
|
|
588849
|
+
"ApiKeyAuth": []
|
|
588850
|
+
}
|
|
588851
|
+
],
|
|
588852
|
+
"summary": "List the pinned NBA request enum values",
|
|
588853
|
+
"tags": [
|
|
588854
|
+
"NBA"
|
|
588855
|
+
]
|
|
588856
|
+
}
|
|
588857
|
+
},
|
|
588858
|
+
"/nba/franchise-history": {
|
|
588859
|
+
"get": {
|
|
588860
|
+
"consumes": [
|
|
588861
|
+
"application/json"
|
|
588862
|
+
],
|
|
588863
|
+
"description": "Returns every franchise's history as two tables: FranchiseHistory for active franchises and DefunctTeams for the ones that no longer play. Verified columns are TEAM_ID, TEAM_NAME, START_YEAR, END_YEAR, YEARS and GAMES. The table is league-wide and needs no team id; pass team_id only to narrow it.",
|
|
588864
|
+
"operationId": "nba-franchise-history",
|
|
588865
|
+
"parameters": [
|
|
588866
|
+
{
|
|
588867
|
+
"description": "League id; only 00 (NBA) is verified",
|
|
588868
|
+
"enum": [
|
|
588869
|
+
"00"
|
|
588870
|
+
],
|
|
588871
|
+
"in": "query",
|
|
588872
|
+
"name": "league_id",
|
|
588873
|
+
"type": "string",
|
|
588874
|
+
"x-example": "00"
|
|
588875
|
+
},
|
|
588876
|
+
{
|
|
588877
|
+
"description": "Optional team id from nba-standings; narrows the history to that franchise",
|
|
588878
|
+
"in": "query",
|
|
588879
|
+
"name": "team_id",
|
|
588880
|
+
"type": "integer",
|
|
588881
|
+
"x-example": 1610612741
|
|
588882
|
+
}
|
|
588883
|
+
],
|
|
588884
|
+
"produces": [
|
|
588885
|
+
"application/json"
|
|
588886
|
+
],
|
|
588887
|
+
"responses": {
|
|
588888
|
+
"200": {
|
|
588889
|
+
"description": "OK",
|
|
588890
|
+
"schema": {
|
|
588891
|
+
"allOf": [
|
|
588892
|
+
{
|
|
588893
|
+
"$ref": "#/definitions/app.Response"
|
|
588894
|
+
},
|
|
588895
|
+
{
|
|
588896
|
+
"properties": {
|
|
588897
|
+
"data": {
|
|
588898
|
+
"$ref": "#/definitions/nba.TablesResponse"
|
|
588899
|
+
}
|
|
588900
|
+
},
|
|
588901
|
+
"type": "object"
|
|
588902
|
+
}
|
|
588903
|
+
]
|
|
588904
|
+
}
|
|
588905
|
+
},
|
|
588906
|
+
"400": {
|
|
588907
|
+
"description": "Bad Request",
|
|
588908
|
+
"schema": {
|
|
588909
|
+
"$ref": "#/definitions/app.Response"
|
|
588910
|
+
}
|
|
588911
|
+
},
|
|
588912
|
+
"404": {
|
|
588913
|
+
"description": "Not Found",
|
|
588914
|
+
"schema": {
|
|
588915
|
+
"$ref": "#/definitions/app.Response"
|
|
588916
|
+
}
|
|
588917
|
+
},
|
|
588918
|
+
"429": {
|
|
588919
|
+
"description": "Too Many Requests",
|
|
588920
|
+
"schema": {
|
|
588921
|
+
"$ref": "#/definitions/app.Response"
|
|
588922
|
+
}
|
|
588923
|
+
},
|
|
588924
|
+
"503": {
|
|
588925
|
+
"description": "Service Unavailable",
|
|
588926
|
+
"schema": {
|
|
588927
|
+
"$ref": "#/definitions/app.Response"
|
|
588928
|
+
}
|
|
588929
|
+
}
|
|
588930
|
+
},
|
|
588931
|
+
"security": [
|
|
588932
|
+
{
|
|
588933
|
+
"ApiKeyAuth": []
|
|
588934
|
+
}
|
|
588935
|
+
],
|
|
588936
|
+
"summary": "NBA franchise history, including defunct teams",
|
|
588937
|
+
"tags": [
|
|
588938
|
+
"NBA"
|
|
588939
|
+
]
|
|
588940
|
+
}
|
|
588941
|
+
},
|
|
588942
|
+
"/nba/game-detail": {
|
|
588943
|
+
"get": {
|
|
588944
|
+
"consumes": [
|
|
588945
|
+
"application/json"
|
|
588946
|
+
],
|
|
588947
|
+
"description": "Returns one game's summary detail from nba.com's game page, read from the page's embedded JSON state: status and clock, game duration, attendance and sellout flag, venue id, name, city, state, country and timezone, the officiating crew with names and jersey numbers, series text, and each team's per-period scoring with a derived game total. Use nba-box-score for per-player statistics; this route is the game-level summary the box score does not carry.",
|
|
588948
|
+
"operationId": "nba-game-detail",
|
|
588949
|
+
"parameters": [
|
|
588950
|
+
{
|
|
588951
|
+
"description": "Ten-digit game id from nba-scoreboard",
|
|
588952
|
+
"in": "query",
|
|
588953
|
+
"name": "game_id",
|
|
588954
|
+
"required": true,
|
|
588955
|
+
"type": "string",
|
|
588956
|
+
"x-example": "0022600196"
|
|
588957
|
+
}
|
|
588958
|
+
],
|
|
588959
|
+
"produces": [
|
|
588960
|
+
"application/json"
|
|
588961
|
+
],
|
|
588962
|
+
"responses": {
|
|
588963
|
+
"200": {
|
|
588964
|
+
"description": "OK",
|
|
588965
|
+
"schema": {
|
|
588966
|
+
"allOf": [
|
|
588967
|
+
{
|
|
588968
|
+
"$ref": "#/definitions/app.Response"
|
|
588969
|
+
},
|
|
588970
|
+
{
|
|
588971
|
+
"properties": {
|
|
588972
|
+
"data": {
|
|
588973
|
+
"$ref": "#/definitions/nba.GameDetailResponse"
|
|
588974
|
+
}
|
|
588975
|
+
},
|
|
588976
|
+
"type": "object"
|
|
588977
|
+
}
|
|
588978
|
+
]
|
|
588979
|
+
}
|
|
588980
|
+
},
|
|
588981
|
+
"400": {
|
|
588982
|
+
"description": "Bad Request",
|
|
588983
|
+
"schema": {
|
|
588984
|
+
"$ref": "#/definitions/app.Response"
|
|
588985
|
+
}
|
|
588986
|
+
},
|
|
588987
|
+
"404": {
|
|
588988
|
+
"description": "Not Found",
|
|
588989
|
+
"schema": {
|
|
588990
|
+
"$ref": "#/definitions/app.Response"
|
|
588991
|
+
}
|
|
588992
|
+
},
|
|
588993
|
+
"429": {
|
|
588994
|
+
"description": "Too Many Requests",
|
|
588995
|
+
"schema": {
|
|
588996
|
+
"$ref": "#/definitions/app.Response"
|
|
588997
|
+
}
|
|
588998
|
+
},
|
|
588999
|
+
"503": {
|
|
589000
|
+
"description": "Service Unavailable",
|
|
589001
|
+
"schema": {
|
|
589002
|
+
"$ref": "#/definitions/app.Response"
|
|
589003
|
+
}
|
|
589004
|
+
}
|
|
589005
|
+
},
|
|
589006
|
+
"security": [
|
|
589007
|
+
{
|
|
589008
|
+
"ApiKeyAuth": []
|
|
589009
|
+
}
|
|
589010
|
+
],
|
|
589011
|
+
"summary": "NBA game summary detail from nba.com",
|
|
589012
|
+
"tags": [
|
|
589013
|
+
"NBA"
|
|
589014
|
+
]
|
|
589015
|
+
}
|
|
589016
|
+
},
|
|
589017
|
+
"/nba/game-finder": {
|
|
589018
|
+
"get": {
|
|
589019
|
+
"consumes": [
|
|
589020
|
+
"application/json"
|
|
589021
|
+
],
|
|
589022
|
+
"description": "Searches NBA games and returns one row per team-game (player_or_team=T, the default) or per player-game (P) with SEASON_ID, TEAM_ID, TEAM_ABBREVIATION, TEAM_NAME, GAME_ID, GAME_DATE, MATCHUP, WL, MIN and the full box-score line (PTS, FGM, FGA, FG_PCT, FG3M, FG3A, FG3_PCT, FTM, FTA, FT_PCT, OREB, DREB, REB, AST, STL, BLK, TOV, PF, PLUS_MINUS); player rows add PLAYER_ID and PLAYER_NAME. Every filter is optional and each one changed the result in a differential replay. The gt_ (inclusive at-least), lt_ (strict below) and eq_ thresholds compare individual player box-score lines, also in team mode, where a team-game row is kept when one of its players meets the threshold.",
|
|
589023
|
+
"operationId": "nba-game-finder",
|
|
589024
|
+
"parameters": [
|
|
589025
|
+
{
|
|
589026
|
+
"description": "T for team-game rows, P for player-game rows; defaults to T",
|
|
589027
|
+
"enum": [
|
|
589028
|
+
"T",
|
|
589029
|
+
"P"
|
|
589030
|
+
],
|
|
589031
|
+
"in": "query",
|
|
589032
|
+
"name": "player_or_team",
|
|
589033
|
+
"type": "string",
|
|
589034
|
+
"x-example": "T"
|
|
589035
|
+
},
|
|
589036
|
+
{
|
|
589037
|
+
"description": "League id; only 00 (NBA) is verified",
|
|
589038
|
+
"enum": [
|
|
589039
|
+
"00"
|
|
589040
|
+
],
|
|
589041
|
+
"in": "query",
|
|
589042
|
+
"name": "league_id",
|
|
589043
|
+
"type": "string",
|
|
589044
|
+
"x-example": "00"
|
|
589045
|
+
},
|
|
589046
|
+
{
|
|
589047
|
+
"description": "Season in YYYY-YY form; defaults to the current season unless a date range is set",
|
|
589048
|
+
"in": "query",
|
|
589049
|
+
"name": "season",
|
|
589050
|
+
"type": "string",
|
|
589051
|
+
"x-example": "2025-26"
|
|
589052
|
+
},
|
|
589053
|
+
{
|
|
589054
|
+
"description": "Season type; omit for every type",
|
|
589055
|
+
"enum": [
|
|
589056
|
+
"Regular Season",
|
|
589057
|
+
"Playoffs",
|
|
589058
|
+
"Pre Season",
|
|
589059
|
+
"All Star",
|
|
589060
|
+
"PlayIn"
|
|
589061
|
+
],
|
|
589062
|
+
"in": "query",
|
|
589063
|
+
"name": "season_type",
|
|
589064
|
+
"type": "string",
|
|
589065
|
+
"x-example": "Regular Season"
|
|
589066
|
+
},
|
|
589067
|
+
{
|
|
589068
|
+
"description": "First game date, MM/DD/YYYY",
|
|
589069
|
+
"in": "query",
|
|
589070
|
+
"name": "date_from",
|
|
589071
|
+
"type": "string",
|
|
589072
|
+
"x-example": "01/01/2026"
|
|
589073
|
+
},
|
|
589074
|
+
{
|
|
589075
|
+
"description": "Last game date, MM/DD/YYYY",
|
|
589076
|
+
"in": "query",
|
|
589077
|
+
"name": "date_to",
|
|
589078
|
+
"type": "string",
|
|
589079
|
+
"x-example": "01/31/2026"
|
|
589080
|
+
},
|
|
589081
|
+
{
|
|
589082
|
+
"description": "Team id; keeps that team's games",
|
|
589083
|
+
"in": "query",
|
|
589084
|
+
"name": "team_id",
|
|
589085
|
+
"type": "integer",
|
|
589086
|
+
"x-example": 1610612747
|
|
589087
|
+
},
|
|
589088
|
+
{
|
|
589089
|
+
"description": "Opponent team id",
|
|
589090
|
+
"in": "query",
|
|
589091
|
+
"name": "vs_team_id",
|
|
589092
|
+
"type": "integer",
|
|
589093
|
+
"x-example": 1610612738
|
|
589094
|
+
},
|
|
589095
|
+
{
|
|
589096
|
+
"description": "Player id; keeps games that player played",
|
|
589097
|
+
"in": "query",
|
|
589098
|
+
"name": "player_id",
|
|
589099
|
+
"type": "integer",
|
|
589100
|
+
"x-example": 2544
|
|
589101
|
+
},
|
|
589102
|
+
{
|
|
589103
|
+
"description": "W for wins, L for losses",
|
|
589104
|
+
"enum": [
|
|
589105
|
+
"W",
|
|
589106
|
+
"L"
|
|
589107
|
+
],
|
|
589108
|
+
"in": "query",
|
|
589109
|
+
"name": "outcome",
|
|
589110
|
+
"type": "string",
|
|
589111
|
+
"x-example": "W"
|
|
589112
|
+
},
|
|
589113
|
+
{
|
|
589114
|
+
"description": "Team conference",
|
|
589115
|
+
"enum": [
|
|
589116
|
+
"East",
|
|
589117
|
+
"West"
|
|
589118
|
+
],
|
|
589119
|
+
"in": "query",
|
|
589120
|
+
"name": "conference",
|
|
589121
|
+
"type": "string",
|
|
589122
|
+
"x-example": "West"
|
|
589123
|
+
},
|
|
589124
|
+
{
|
|
589125
|
+
"description": "Opponent conference",
|
|
589126
|
+
"enum": [
|
|
589127
|
+
"East",
|
|
589128
|
+
"West"
|
|
589129
|
+
],
|
|
589130
|
+
"in": "query",
|
|
589131
|
+
"name": "vs_conference",
|
|
589132
|
+
"type": "string",
|
|
589133
|
+
"x-example": "East"
|
|
589134
|
+
},
|
|
589135
|
+
{
|
|
589136
|
+
"description": "Team division",
|
|
589137
|
+
"enum": [
|
|
589138
|
+
"Atlantic",
|
|
589139
|
+
"Central",
|
|
589140
|
+
"Southeast",
|
|
589141
|
+
"Northwest",
|
|
589142
|
+
"Pacific",
|
|
589143
|
+
"Southwest"
|
|
589144
|
+
],
|
|
589145
|
+
"in": "query",
|
|
589146
|
+
"name": "division",
|
|
589147
|
+
"type": "string",
|
|
589148
|
+
"x-example": "Pacific"
|
|
589149
|
+
},
|
|
589150
|
+
{
|
|
589151
|
+
"description": "Opponent division",
|
|
589152
|
+
"enum": [
|
|
589153
|
+
"Atlantic",
|
|
589154
|
+
"Central",
|
|
589155
|
+
"Southeast",
|
|
589156
|
+
"Northwest",
|
|
589157
|
+
"Pacific",
|
|
589158
|
+
"Southwest"
|
|
589159
|
+
],
|
|
589160
|
+
"in": "query",
|
|
589161
|
+
"name": "vs_division",
|
|
589162
|
+
"type": "string",
|
|
589163
|
+
"x-example": "Atlantic"
|
|
589164
|
+
},
|
|
589165
|
+
{
|
|
589166
|
+
"description": "Four-digit draft year of the player; use with player_or_team=P",
|
|
589167
|
+
"in": "query",
|
|
589168
|
+
"name": "draft_year",
|
|
589169
|
+
"type": "string",
|
|
589170
|
+
"x-example": "2018"
|
|
589171
|
+
},
|
|
589172
|
+
{
|
|
589173
|
+
"description": "Draft round of the player, 1 to 10; use with player_or_team=P",
|
|
589174
|
+
"in": "query",
|
|
589175
|
+
"maximum": 10,
|
|
589176
|
+
"minimum": 1,
|
|
589177
|
+
"name": "draft_round",
|
|
589178
|
+
"type": "integer",
|
|
589179
|
+
"x-example": 1
|
|
589180
|
+
},
|
|
589181
|
+
{
|
|
589182
|
+
"description": "Overall draft pick of the player, 1 to 300; use with player_or_team=P",
|
|
589183
|
+
"in": "query",
|
|
589184
|
+
"maximum": 300,
|
|
589185
|
+
"minimum": 1,
|
|
589186
|
+
"name": "draft_number",
|
|
589187
|
+
"type": "integer",
|
|
589188
|
+
"x-example": 1
|
|
589189
|
+
},
|
|
589190
|
+
{
|
|
589191
|
+
"description": "Player points at least this value (inclusive)",
|
|
589192
|
+
"in": "query",
|
|
589193
|
+
"name": "gt_pts",
|
|
589194
|
+
"type": "number"
|
|
589195
|
+
},
|
|
589196
|
+
{
|
|
589197
|
+
"description": "Player points below this value (strict)",
|
|
589198
|
+
"in": "query",
|
|
589199
|
+
"name": "lt_pts",
|
|
589200
|
+
"type": "number"
|
|
589201
|
+
},
|
|
589202
|
+
{
|
|
589203
|
+
"description": "Player points equal to this value",
|
|
589204
|
+
"in": "query",
|
|
589205
|
+
"name": "eq_pts",
|
|
589206
|
+
"type": "number"
|
|
589207
|
+
},
|
|
589208
|
+
{
|
|
589209
|
+
"description": "Player assists at least this value (inclusive)",
|
|
589210
|
+
"in": "query",
|
|
589211
|
+
"name": "gt_ast",
|
|
589212
|
+
"type": "number"
|
|
589213
|
+
},
|
|
589214
|
+
{
|
|
589215
|
+
"description": "Player assists below this value (strict)",
|
|
589216
|
+
"in": "query",
|
|
589217
|
+
"name": "lt_ast",
|
|
589218
|
+
"type": "number"
|
|
589219
|
+
},
|
|
589220
|
+
{
|
|
589221
|
+
"description": "Player assists equal to this value",
|
|
589222
|
+
"in": "query",
|
|
589223
|
+
"name": "eq_ast",
|
|
589224
|
+
"type": "number"
|
|
589225
|
+
},
|
|
589226
|
+
{
|
|
589227
|
+
"description": "Player rebounds at least this value (inclusive)",
|
|
589228
|
+
"in": "query",
|
|
589229
|
+
"name": "gt_reb",
|
|
589230
|
+
"type": "number"
|
|
589231
|
+
},
|
|
589232
|
+
{
|
|
589233
|
+
"description": "Player rebounds below this value (strict)",
|
|
589234
|
+
"in": "query",
|
|
589235
|
+
"name": "lt_reb",
|
|
589236
|
+
"type": "number"
|
|
589237
|
+
},
|
|
589238
|
+
{
|
|
589239
|
+
"description": "Player rebounds equal to this value",
|
|
589240
|
+
"in": "query",
|
|
589241
|
+
"name": "eq_reb",
|
|
589242
|
+
"type": "number"
|
|
589243
|
+
},
|
|
589244
|
+
{
|
|
589245
|
+
"description": "Player offensive rebounds at least this value (inclusive)",
|
|
589246
|
+
"in": "query",
|
|
589247
|
+
"name": "gt_oreb",
|
|
589248
|
+
"type": "number"
|
|
589249
|
+
},
|
|
589250
|
+
{
|
|
589251
|
+
"description": "Player offensive rebounds below this value (strict)",
|
|
589252
|
+
"in": "query",
|
|
589253
|
+
"name": "lt_oreb",
|
|
589254
|
+
"type": "number"
|
|
589255
|
+
},
|
|
589256
|
+
{
|
|
589257
|
+
"description": "Player offensive rebounds equal to this value",
|
|
589258
|
+
"in": "query",
|
|
589259
|
+
"name": "eq_oreb",
|
|
589260
|
+
"type": "number"
|
|
589261
|
+
},
|
|
589262
|
+
{
|
|
589263
|
+
"description": "Player defensive rebounds at least this value (inclusive)",
|
|
589264
|
+
"in": "query",
|
|
589265
|
+
"name": "gt_dreb",
|
|
589266
|
+
"type": "number"
|
|
589267
|
+
},
|
|
589268
|
+
{
|
|
589269
|
+
"description": "Player defensive rebounds below this value (strict)",
|
|
589270
|
+
"in": "query",
|
|
589271
|
+
"name": "lt_dreb",
|
|
589272
|
+
"type": "number"
|
|
589273
|
+
},
|
|
589274
|
+
{
|
|
589275
|
+
"description": "Player defensive rebounds equal to this value",
|
|
589276
|
+
"in": "query",
|
|
589277
|
+
"name": "eq_dreb",
|
|
589278
|
+
"type": "number"
|
|
589279
|
+
},
|
|
589280
|
+
{
|
|
589281
|
+
"description": "Player steals at least this value (inclusive)",
|
|
589282
|
+
"in": "query",
|
|
589283
|
+
"name": "gt_stl",
|
|
589284
|
+
"type": "number"
|
|
589285
|
+
},
|
|
589286
|
+
{
|
|
589287
|
+
"description": "Player steals below this value (strict)",
|
|
589288
|
+
"in": "query",
|
|
589289
|
+
"name": "lt_stl",
|
|
589290
|
+
"type": "number"
|
|
589291
|
+
},
|
|
589292
|
+
{
|
|
589293
|
+
"description": "Player steals equal to this value",
|
|
589294
|
+
"in": "query",
|
|
589295
|
+
"name": "eq_stl",
|
|
589296
|
+
"type": "number"
|
|
589297
|
+
},
|
|
589298
|
+
{
|
|
589299
|
+
"description": "Player blocks at least this value (inclusive)",
|
|
589300
|
+
"in": "query",
|
|
589301
|
+
"name": "gt_blk",
|
|
589302
|
+
"type": "number"
|
|
589303
|
+
},
|
|
589304
|
+
{
|
|
589305
|
+
"description": "Player blocks below this value (strict)",
|
|
589306
|
+
"in": "query",
|
|
589307
|
+
"name": "lt_blk",
|
|
589308
|
+
"type": "number"
|
|
589309
|
+
},
|
|
589310
|
+
{
|
|
589311
|
+
"description": "Player blocks equal to this value",
|
|
589312
|
+
"in": "query",
|
|
589313
|
+
"name": "eq_blk",
|
|
589314
|
+
"type": "number"
|
|
589315
|
+
},
|
|
589316
|
+
{
|
|
589317
|
+
"description": "Player turnovers at least this value (inclusive)",
|
|
589318
|
+
"in": "query",
|
|
589319
|
+
"name": "gt_tov",
|
|
589320
|
+
"type": "number"
|
|
589321
|
+
},
|
|
589322
|
+
{
|
|
589323
|
+
"description": "Player turnovers below this value (strict)",
|
|
589324
|
+
"in": "query",
|
|
589325
|
+
"name": "lt_tov",
|
|
589326
|
+
"type": "number"
|
|
589327
|
+
},
|
|
589328
|
+
{
|
|
589329
|
+
"description": "Player turnovers equal to this value",
|
|
589330
|
+
"in": "query",
|
|
589331
|
+
"name": "eq_tov",
|
|
589332
|
+
"type": "number"
|
|
589333
|
+
},
|
|
589334
|
+
{
|
|
589335
|
+
"description": "Player personal fouls at least this value (inclusive)",
|
|
589336
|
+
"in": "query",
|
|
589337
|
+
"name": "gt_pf",
|
|
589338
|
+
"type": "number"
|
|
589339
|
+
},
|
|
589340
|
+
{
|
|
589341
|
+
"description": "Player personal fouls below this value (strict)",
|
|
589342
|
+
"in": "query",
|
|
589343
|
+
"name": "lt_pf",
|
|
589344
|
+
"type": "number"
|
|
589345
|
+
},
|
|
589346
|
+
{
|
|
589347
|
+
"description": "Player personal fouls equal to this value",
|
|
589348
|
+
"in": "query",
|
|
589349
|
+
"name": "eq_pf",
|
|
589350
|
+
"type": "number"
|
|
589351
|
+
},
|
|
589352
|
+
{
|
|
589353
|
+
"description": "Player minutes at least this value (inclusive)",
|
|
589354
|
+
"in": "query",
|
|
589355
|
+
"name": "gt_minutes",
|
|
589356
|
+
"type": "number"
|
|
589357
|
+
},
|
|
589358
|
+
{
|
|
589359
|
+
"description": "Player minutes below this value (strict)",
|
|
589360
|
+
"in": "query",
|
|
589361
|
+
"name": "lt_minutes",
|
|
589362
|
+
"type": "number"
|
|
589363
|
+
},
|
|
589364
|
+
{
|
|
589365
|
+
"description": "Player minutes equal to this value",
|
|
589366
|
+
"in": "query",
|
|
589367
|
+
"name": "eq_minutes",
|
|
589368
|
+
"type": "number"
|
|
589369
|
+
},
|
|
589370
|
+
{
|
|
589371
|
+
"description": "Player field goals made at least this value (inclusive)",
|
|
589372
|
+
"in": "query",
|
|
589373
|
+
"name": "gt_fgm",
|
|
589374
|
+
"type": "number"
|
|
589375
|
+
},
|
|
589376
|
+
{
|
|
589377
|
+
"description": "Player field goals made below this value (strict)",
|
|
589378
|
+
"in": "query",
|
|
589379
|
+
"name": "lt_fgm",
|
|
589380
|
+
"type": "number"
|
|
589381
|
+
},
|
|
589382
|
+
{
|
|
589383
|
+
"description": "Player field goals made equal to this value",
|
|
589384
|
+
"in": "query",
|
|
589385
|
+
"name": "eq_fgm",
|
|
589386
|
+
"type": "number"
|
|
589387
|
+
},
|
|
589388
|
+
{
|
|
589389
|
+
"description": "Player field goals attempted at least this value (inclusive)",
|
|
589390
|
+
"in": "query",
|
|
589391
|
+
"name": "gt_fga",
|
|
589392
|
+
"type": "number"
|
|
589393
|
+
},
|
|
589394
|
+
{
|
|
589395
|
+
"description": "Player field goals attempted below this value (strict)",
|
|
589396
|
+
"in": "query",
|
|
589397
|
+
"name": "lt_fga",
|
|
589398
|
+
"type": "number"
|
|
589399
|
+
},
|
|
589400
|
+
{
|
|
589401
|
+
"description": "Player field goals attempted equal to this value",
|
|
589402
|
+
"in": "query",
|
|
589403
|
+
"name": "eq_fga",
|
|
589404
|
+
"type": "number"
|
|
589405
|
+
},
|
|
589406
|
+
{
|
|
589407
|
+
"description": "Player three-pointers made at least this value (inclusive)",
|
|
589408
|
+
"in": "query",
|
|
589409
|
+
"name": "gt_fg3m",
|
|
589410
|
+
"type": "number"
|
|
589411
|
+
},
|
|
589412
|
+
{
|
|
589413
|
+
"description": "Player three-pointers made below this value (strict)",
|
|
589414
|
+
"in": "query",
|
|
589415
|
+
"name": "lt_fg3m",
|
|
589416
|
+
"type": "number"
|
|
589417
|
+
},
|
|
589418
|
+
{
|
|
589419
|
+
"description": "Player three-pointers made equal to this value",
|
|
589420
|
+
"in": "query",
|
|
589421
|
+
"name": "eq_fg3m",
|
|
589422
|
+
"type": "number"
|
|
589423
|
+
},
|
|
589424
|
+
{
|
|
589425
|
+
"description": "Player three-pointers attempted at least this value (inclusive)",
|
|
589426
|
+
"in": "query",
|
|
589427
|
+
"name": "gt_fg3a",
|
|
589428
|
+
"type": "number"
|
|
589429
|
+
},
|
|
589430
|
+
{
|
|
589431
|
+
"description": "Player three-pointers attempted below this value (strict)",
|
|
589432
|
+
"in": "query",
|
|
589433
|
+
"name": "lt_fg3a",
|
|
589434
|
+
"type": "number"
|
|
589435
|
+
},
|
|
589436
|
+
{
|
|
589437
|
+
"description": "Player three-pointers attempted equal to this value",
|
|
589438
|
+
"in": "query",
|
|
589439
|
+
"name": "eq_fg3a",
|
|
589440
|
+
"type": "number"
|
|
589441
|
+
},
|
|
589442
|
+
{
|
|
589443
|
+
"description": "Player free throws made at least this value (inclusive)",
|
|
589444
|
+
"in": "query",
|
|
589445
|
+
"name": "gt_ftm",
|
|
589446
|
+
"type": "number"
|
|
589447
|
+
},
|
|
589448
|
+
{
|
|
589449
|
+
"description": "Player free throws made below this value (strict)",
|
|
589450
|
+
"in": "query",
|
|
589451
|
+
"name": "lt_ftm",
|
|
589452
|
+
"type": "number"
|
|
589453
|
+
},
|
|
589454
|
+
{
|
|
589455
|
+
"description": "Player free throws made equal to this value",
|
|
589456
|
+
"in": "query",
|
|
589457
|
+
"name": "eq_ftm",
|
|
589458
|
+
"type": "number"
|
|
589459
|
+
},
|
|
589460
|
+
{
|
|
589461
|
+
"description": "Player free throws attempted at least this value (inclusive)",
|
|
589462
|
+
"in": "query",
|
|
589463
|
+
"name": "gt_fta",
|
|
589464
|
+
"type": "number"
|
|
589465
|
+
},
|
|
589466
|
+
{
|
|
589467
|
+
"description": "Player free throws attempted below this value (strict)",
|
|
589468
|
+
"in": "query",
|
|
589469
|
+
"name": "lt_fta",
|
|
589470
|
+
"type": "number"
|
|
589471
|
+
},
|
|
589472
|
+
{
|
|
589473
|
+
"description": "Player free throws attempted equal to this value",
|
|
589474
|
+
"in": "query",
|
|
589475
|
+
"name": "eq_fta",
|
|
589476
|
+
"type": "number"
|
|
589477
|
+
},
|
|
589478
|
+
{
|
|
589479
|
+
"description": "Player double-double flag (0 or 1) at least this value (inclusive)",
|
|
589480
|
+
"in": "query",
|
|
589481
|
+
"name": "gt_dd",
|
|
589482
|
+
"type": "number"
|
|
589483
|
+
},
|
|
589484
|
+
{
|
|
589485
|
+
"description": "Player double-double flag (0 or 1) below this value (strict)",
|
|
589486
|
+
"in": "query",
|
|
589487
|
+
"name": "lt_dd",
|
|
589488
|
+
"type": "number"
|
|
589489
|
+
},
|
|
589490
|
+
{
|
|
589491
|
+
"description": "Player double-double flag (0 or 1) equal to this value",
|
|
589492
|
+
"in": "query",
|
|
589493
|
+
"name": "eq_dd",
|
|
589494
|
+
"type": "number"
|
|
589495
|
+
},
|
|
589496
|
+
{
|
|
589497
|
+
"description": "Player triple-double flag (0 or 1) at least this value (inclusive)",
|
|
589498
|
+
"in": "query",
|
|
589499
|
+
"name": "gt_td",
|
|
589500
|
+
"type": "number"
|
|
589501
|
+
},
|
|
589502
|
+
{
|
|
589503
|
+
"description": "Player triple-double flag (0 or 1) below this value (strict)",
|
|
589504
|
+
"in": "query",
|
|
589505
|
+
"name": "lt_td",
|
|
589506
|
+
"type": "number"
|
|
589507
|
+
},
|
|
589508
|
+
{
|
|
589509
|
+
"description": "Player triple-double flag (0 or 1) equal to this value",
|
|
589510
|
+
"in": "query",
|
|
589511
|
+
"name": "eq_td",
|
|
589512
|
+
"type": "number"
|
|
589513
|
+
},
|
|
589514
|
+
{
|
|
589515
|
+
"description": "Player field-goal percentage, a fraction at least this value (inclusive)",
|
|
589516
|
+
"in": "query",
|
|
589517
|
+
"name": "gt_fg_pct",
|
|
589518
|
+
"type": "number"
|
|
589519
|
+
},
|
|
589520
|
+
{
|
|
589521
|
+
"description": "Player field-goal percentage, a fraction below this value (strict)",
|
|
589522
|
+
"in": "query",
|
|
589523
|
+
"name": "lt_fg_pct",
|
|
589524
|
+
"type": "number"
|
|
589525
|
+
},
|
|
589526
|
+
{
|
|
589527
|
+
"description": "Player field-goal percentage, a fraction equal to this value",
|
|
589528
|
+
"in": "query",
|
|
589529
|
+
"name": "eq_fg_pct",
|
|
589530
|
+
"type": "number"
|
|
589531
|
+
},
|
|
589532
|
+
{
|
|
589533
|
+
"description": "Player three-point percentage, a fraction at least this value (inclusive)",
|
|
589534
|
+
"in": "query",
|
|
589535
|
+
"name": "gt_fg3_pct",
|
|
589536
|
+
"type": "number"
|
|
589537
|
+
},
|
|
589538
|
+
{
|
|
589539
|
+
"description": "Player three-point percentage, a fraction below this value (strict)",
|
|
589540
|
+
"in": "query",
|
|
589541
|
+
"name": "lt_fg3_pct",
|
|
589542
|
+
"type": "number"
|
|
589543
|
+
},
|
|
589544
|
+
{
|
|
589545
|
+
"description": "Player three-point percentage, a fraction equal to this value",
|
|
589546
|
+
"in": "query",
|
|
589547
|
+
"name": "eq_fg3_pct",
|
|
589548
|
+
"type": "number"
|
|
589549
|
+
},
|
|
589550
|
+
{
|
|
589551
|
+
"description": "Player free-throw percentage, a fraction at least this value (inclusive)",
|
|
589552
|
+
"in": "query",
|
|
589553
|
+
"name": "gt_ft_pct",
|
|
589554
|
+
"type": "number"
|
|
589555
|
+
},
|
|
589556
|
+
{
|
|
589557
|
+
"description": "Player free-throw percentage, a fraction below this value (strict)",
|
|
589558
|
+
"in": "query",
|
|
589559
|
+
"name": "lt_ft_pct",
|
|
589560
|
+
"type": "number"
|
|
589561
|
+
},
|
|
589562
|
+
{
|
|
589563
|
+
"description": "Player free-throw percentage, a fraction equal to this value",
|
|
589564
|
+
"in": "query",
|
|
589565
|
+
"name": "eq_ft_pct",
|
|
589566
|
+
"type": "number"
|
|
589567
|
+
}
|
|
589568
|
+
],
|
|
589569
|
+
"produces": [
|
|
589570
|
+
"application/json"
|
|
589571
|
+
],
|
|
589572
|
+
"responses": {
|
|
589573
|
+
"200": {
|
|
589574
|
+
"description": "OK",
|
|
589575
|
+
"schema": {
|
|
589576
|
+
"allOf": [
|
|
589577
|
+
{
|
|
589578
|
+
"$ref": "#/definitions/app.Response"
|
|
589579
|
+
},
|
|
589580
|
+
{
|
|
589581
|
+
"properties": {
|
|
589582
|
+
"data": {
|
|
589583
|
+
"$ref": "#/definitions/nba.TablesResponse"
|
|
589584
|
+
}
|
|
589585
|
+
},
|
|
589586
|
+
"type": "object"
|
|
589587
|
+
}
|
|
589588
|
+
]
|
|
589589
|
+
}
|
|
589590
|
+
},
|
|
589591
|
+
"400": {
|
|
589592
|
+
"description": "Bad Request",
|
|
589593
|
+
"schema": {
|
|
589594
|
+
"$ref": "#/definitions/app.Response"
|
|
589595
|
+
}
|
|
589596
|
+
},
|
|
589597
|
+
"404": {
|
|
589598
|
+
"description": "Not Found",
|
|
589599
|
+
"schema": {
|
|
589600
|
+
"$ref": "#/definitions/app.Response"
|
|
589601
|
+
}
|
|
589602
|
+
},
|
|
589603
|
+
"429": {
|
|
589604
|
+
"description": "Too Many Requests",
|
|
589605
|
+
"schema": {
|
|
589606
|
+
"$ref": "#/definitions/app.Response"
|
|
589607
|
+
}
|
|
589608
|
+
},
|
|
589609
|
+
"503": {
|
|
589610
|
+
"description": "Service Unavailable",
|
|
589611
|
+
"schema": {
|
|
589612
|
+
"$ref": "#/definitions/app.Response"
|
|
589613
|
+
}
|
|
589614
|
+
}
|
|
589615
|
+
},
|
|
589616
|
+
"security": [
|
|
589617
|
+
{
|
|
589618
|
+
"ApiKeyAuth": []
|
|
589619
|
+
}
|
|
589620
|
+
],
|
|
589621
|
+
"summary": "NBA league game finder",
|
|
587967
589622
|
"tags": [
|
|
587968
589623
|
"NBA"
|
|
587969
589624
|
]
|
|
587970
589625
|
}
|
|
587971
589626
|
},
|
|
587972
|
-
"/nba/
|
|
589627
|
+
"/nba/game-rotation": {
|
|
587973
589628
|
"get": {
|
|
587974
589629
|
"consumes": [
|
|
587975
589630
|
"application/json"
|
|
587976
589631
|
],
|
|
587977
|
-
"description": "Returns
|
|
587978
|
-
"operationId": "nba-
|
|
589632
|
+
"description": "Returns each team's player stints for one game: one row per stint with the player's check-in and check-out times (IN_TIME_REAL and OUT_TIME_REAL, in tenths of a second from tip-off), the points he scored during the stint (PLAYER_PTS), the team's point differential over it (PT_DIFF) and his usage rate (USG_PCT). The response holds two tables, AwayTeam and HomeTeam, keyed by the source's own column names. A game id the source does not know answers 200 with empty tables.",
|
|
589633
|
+
"operationId": "nba-game-rotation",
|
|
587979
589634
|
"parameters": [
|
|
589635
|
+
{
|
|
589636
|
+
"description": "Ten-digit game id from nba-scoreboard or nba-game-finder",
|
|
589637
|
+
"in": "query",
|
|
589638
|
+
"name": "game_id",
|
|
589639
|
+
"required": true,
|
|
589640
|
+
"type": "string",
|
|
589641
|
+
"x-example": "0022600196"
|
|
589642
|
+
},
|
|
587980
589643
|
{
|
|
587981
589644
|
"description": "League id; only 00 (NBA) is verified",
|
|
587982
589645
|
"enum": [
|
|
@@ -587986,13 +589649,6 @@
|
|
|
587986
589649
|
"name": "league_id",
|
|
587987
589650
|
"type": "string",
|
|
587988
589651
|
"x-example": "00"
|
|
587989
|
-
},
|
|
587990
|
-
{
|
|
587991
|
-
"description": "Optional team id from nba-standings; narrows the history to that franchise",
|
|
587992
|
-
"in": "query",
|
|
587993
|
-
"name": "team_id",
|
|
587994
|
-
"type": "integer",
|
|
587995
|
-
"x-example": 1610612741
|
|
587996
589652
|
}
|
|
587997
589653
|
],
|
|
587998
589654
|
"produces": [
|
|
@@ -588047,82 +589703,7 @@
|
|
|
588047
589703
|
"ApiKeyAuth": []
|
|
588048
589704
|
}
|
|
588049
589705
|
],
|
|
588050
|
-
"summary": "NBA
|
|
588051
|
-
"tags": [
|
|
588052
|
-
"NBA"
|
|
588053
|
-
]
|
|
588054
|
-
}
|
|
588055
|
-
},
|
|
588056
|
-
"/nba/game-detail": {
|
|
588057
|
-
"get": {
|
|
588058
|
-
"consumes": [
|
|
588059
|
-
"application/json"
|
|
588060
|
-
],
|
|
588061
|
-
"description": "Returns one game's summary detail from nba.com's game page, read from the page's embedded JSON state: status and clock, game duration, attendance and sellout flag, venue id, name, city, state, country and timezone, the officiating crew with names and jersey numbers, series text, and each team's per-period scoring with a derived game total. Use nba-box-score for per-player statistics; this route is the game-level summary the box score does not carry.",
|
|
588062
|
-
"operationId": "nba-game-detail",
|
|
588063
|
-
"parameters": [
|
|
588064
|
-
{
|
|
588065
|
-
"description": "Ten-digit game id from nba-scoreboard",
|
|
588066
|
-
"in": "query",
|
|
588067
|
-
"name": "game_id",
|
|
588068
|
-
"required": true,
|
|
588069
|
-
"type": "string",
|
|
588070
|
-
"x-example": "0022600196"
|
|
588071
|
-
}
|
|
588072
|
-
],
|
|
588073
|
-
"produces": [
|
|
588074
|
-
"application/json"
|
|
588075
|
-
],
|
|
588076
|
-
"responses": {
|
|
588077
|
-
"200": {
|
|
588078
|
-
"description": "OK",
|
|
588079
|
-
"schema": {
|
|
588080
|
-
"allOf": [
|
|
588081
|
-
{
|
|
588082
|
-
"$ref": "#/definitions/app.Response"
|
|
588083
|
-
},
|
|
588084
|
-
{
|
|
588085
|
-
"properties": {
|
|
588086
|
-
"data": {
|
|
588087
|
-
"$ref": "#/definitions/nba.GameDetailResponse"
|
|
588088
|
-
}
|
|
588089
|
-
},
|
|
588090
|
-
"type": "object"
|
|
588091
|
-
}
|
|
588092
|
-
]
|
|
588093
|
-
}
|
|
588094
|
-
},
|
|
588095
|
-
"400": {
|
|
588096
|
-
"description": "Bad Request",
|
|
588097
|
-
"schema": {
|
|
588098
|
-
"$ref": "#/definitions/app.Response"
|
|
588099
|
-
}
|
|
588100
|
-
},
|
|
588101
|
-
"404": {
|
|
588102
|
-
"description": "Not Found",
|
|
588103
|
-
"schema": {
|
|
588104
|
-
"$ref": "#/definitions/app.Response"
|
|
588105
|
-
}
|
|
588106
|
-
},
|
|
588107
|
-
"429": {
|
|
588108
|
-
"description": "Too Many Requests",
|
|
588109
|
-
"schema": {
|
|
588110
|
-
"$ref": "#/definitions/app.Response"
|
|
588111
|
-
}
|
|
588112
|
-
},
|
|
588113
|
-
"503": {
|
|
588114
|
-
"description": "Service Unavailable",
|
|
588115
|
-
"schema": {
|
|
588116
|
-
"$ref": "#/definitions/app.Response"
|
|
588117
|
-
}
|
|
588118
|
-
}
|
|
588119
|
-
},
|
|
588120
|
-
"security": [
|
|
588121
|
-
{
|
|
588122
|
-
"ApiKeyAuth": []
|
|
588123
|
-
}
|
|
588124
|
-
],
|
|
588125
|
-
"summary": "NBA game summary detail from nba.com",
|
|
589706
|
+
"summary": "NBA game substitution rotation",
|
|
588126
589707
|
"tags": [
|
|
588127
589708
|
"NBA"
|
|
588128
589709
|
]
|
|
@@ -588851,6 +590432,169 @@
|
|
|
588851
590432
|
]
|
|
588852
590433
|
}
|
|
588853
590434
|
},
|
|
590435
|
+
"/nba/league-leaders": {
|
|
590436
|
+
"get": {
|
|
590437
|
+
"consumes": [
|
|
590438
|
+
"application/json"
|
|
590439
|
+
],
|
|
590440
|
+
"description": "Returns the league-leaders table for one ranked statistic: one row per player with PLAYER_ID, RANK, PLAYER, TEAM_ID, TEAM, GP, MIN, the shooting, rebounding and playmaking columns, EFF, AST_TOV and STL_TOV. Unlike nba-team-stats-leaders this route covers the full verified value space: 22 ranked categories, the Totals, PerGame and Per48 aggregations, the S, Rookies and RS player pools, the PlayIn season type, career leaders through season=All Time, and the active-player filter that applies to career leaders.",
|
|
590441
|
+
"operationId": "nba-league-leaders",
|
|
590442
|
+
"parameters": [
|
|
590443
|
+
{
|
|
590444
|
+
"description": "Ranked statistic; defaults to PTS",
|
|
590445
|
+
"enum": [
|
|
590446
|
+
"PTS",
|
|
590447
|
+
"FGM",
|
|
590448
|
+
"FGA",
|
|
590449
|
+
"FG_PCT",
|
|
590450
|
+
"FG3M",
|
|
590451
|
+
"FG3A",
|
|
590452
|
+
"FG3_PCT",
|
|
590453
|
+
"FTM",
|
|
590454
|
+
"FTA",
|
|
590455
|
+
"FT_PCT",
|
|
590456
|
+
"OREB",
|
|
590457
|
+
"DREB",
|
|
590458
|
+
"REB",
|
|
590459
|
+
"AST",
|
|
590460
|
+
"STL",
|
|
590461
|
+
"BLK",
|
|
590462
|
+
"TOV",
|
|
590463
|
+
"PF",
|
|
590464
|
+
"EFF",
|
|
590465
|
+
"AST_TOV",
|
|
590466
|
+
"STL_TOV",
|
|
590467
|
+
"MIN"
|
|
590468
|
+
],
|
|
590469
|
+
"in": "query",
|
|
590470
|
+
"name": "stat_category",
|
|
590471
|
+
"type": "string",
|
|
590472
|
+
"x-example": "PTS"
|
|
590473
|
+
},
|
|
590474
|
+
{
|
|
590475
|
+
"description": "League id; only 00 (NBA) is verified",
|
|
590476
|
+
"enum": [
|
|
590477
|
+
"00"
|
|
590478
|
+
],
|
|
590479
|
+
"in": "query",
|
|
590480
|
+
"name": "league_id",
|
|
590481
|
+
"type": "string",
|
|
590482
|
+
"x-example": "00"
|
|
590483
|
+
},
|
|
590484
|
+
{
|
|
590485
|
+
"description": "Season in YYYY-YY form, or All Time for career leaders; defaults to the current season",
|
|
590486
|
+
"in": "query",
|
|
590487
|
+
"name": "season",
|
|
590488
|
+
"type": "string",
|
|
590489
|
+
"x-example": "2025-26"
|
|
590490
|
+
},
|
|
590491
|
+
{
|
|
590492
|
+
"description": "Season type",
|
|
590493
|
+
"enum": [
|
|
590494
|
+
"Regular Season",
|
|
590495
|
+
"Playoffs",
|
|
590496
|
+
"Pre Season",
|
|
590497
|
+
"PlayIn"
|
|
590498
|
+
],
|
|
590499
|
+
"in": "query",
|
|
590500
|
+
"name": "season_type",
|
|
590501
|
+
"type": "string",
|
|
590502
|
+
"x-example": "Regular Season"
|
|
590503
|
+
},
|
|
590504
|
+
{
|
|
590505
|
+
"description": "Aggregation; defaults to Totals",
|
|
590506
|
+
"enum": [
|
|
590507
|
+
"Totals",
|
|
590508
|
+
"PerGame",
|
|
590509
|
+
"Per48"
|
|
590510
|
+
],
|
|
590511
|
+
"in": "query",
|
|
590512
|
+
"name": "per_mode",
|
|
590513
|
+
"type": "string",
|
|
590514
|
+
"x-example": "Totals"
|
|
590515
|
+
},
|
|
590516
|
+
{
|
|
590517
|
+
"description": "Player pool: S (all players), Rookies or RS (regular-season qualifiers); defaults to S",
|
|
590518
|
+
"enum": [
|
|
590519
|
+
"S",
|
|
590520
|
+
"Rookies",
|
|
590521
|
+
"RS"
|
|
590522
|
+
],
|
|
590523
|
+
"in": "query",
|
|
590524
|
+
"name": "scope",
|
|
590525
|
+
"type": "string",
|
|
590526
|
+
"x-example": "S"
|
|
590527
|
+
},
|
|
590528
|
+
{
|
|
590529
|
+
"description": "Yes keeps only active players; only changes the result when season is All Time",
|
|
590530
|
+
"enum": [
|
|
590531
|
+
"Yes",
|
|
590532
|
+
"No"
|
|
590533
|
+
],
|
|
590534
|
+
"in": "query",
|
|
590535
|
+
"name": "active_flag",
|
|
590536
|
+
"type": "string",
|
|
590537
|
+
"x-example": "Yes"
|
|
590538
|
+
}
|
|
590539
|
+
],
|
|
590540
|
+
"produces": [
|
|
590541
|
+
"application/json"
|
|
590542
|
+
],
|
|
590543
|
+
"responses": {
|
|
590544
|
+
"200": {
|
|
590545
|
+
"description": "OK",
|
|
590546
|
+
"schema": {
|
|
590547
|
+
"allOf": [
|
|
590548
|
+
{
|
|
590549
|
+
"$ref": "#/definitions/app.Response"
|
|
590550
|
+
},
|
|
590551
|
+
{
|
|
590552
|
+
"properties": {
|
|
590553
|
+
"data": {
|
|
590554
|
+
"$ref": "#/definitions/nba.TablesResponse"
|
|
590555
|
+
}
|
|
590556
|
+
},
|
|
590557
|
+
"type": "object"
|
|
590558
|
+
}
|
|
590559
|
+
]
|
|
590560
|
+
}
|
|
590561
|
+
},
|
|
590562
|
+
"400": {
|
|
590563
|
+
"description": "Bad Request",
|
|
590564
|
+
"schema": {
|
|
590565
|
+
"$ref": "#/definitions/app.Response"
|
|
590566
|
+
}
|
|
590567
|
+
},
|
|
590568
|
+
"404": {
|
|
590569
|
+
"description": "Not Found",
|
|
590570
|
+
"schema": {
|
|
590571
|
+
"$ref": "#/definitions/app.Response"
|
|
590572
|
+
}
|
|
590573
|
+
},
|
|
590574
|
+
"429": {
|
|
590575
|
+
"description": "Too Many Requests",
|
|
590576
|
+
"schema": {
|
|
590577
|
+
"$ref": "#/definitions/app.Response"
|
|
590578
|
+
}
|
|
590579
|
+
},
|
|
590580
|
+
"503": {
|
|
590581
|
+
"description": "Service Unavailable",
|
|
590582
|
+
"schema": {
|
|
590583
|
+
"$ref": "#/definitions/app.Response"
|
|
590584
|
+
}
|
|
590585
|
+
}
|
|
590586
|
+
},
|
|
590587
|
+
"security": [
|
|
590588
|
+
{
|
|
590589
|
+
"ApiKeyAuth": []
|
|
590590
|
+
}
|
|
590591
|
+
],
|
|
590592
|
+
"summary": "NBA league leaders over every category, aggregation, pool and season type",
|
|
590593
|
+
"tags": [
|
|
590594
|
+
"NBA"
|
|
590595
|
+
]
|
|
590596
|
+
}
|
|
590597
|
+
},
|
|
588854
590598
|
"/nba/lineup-shot-chart": {
|
|
588855
590599
|
"get": {
|
|
588856
590600
|
"consumes": [
|