All URIs are relative to http://localhost:8080
Method | HTTP request | Description |
---|---|---|
apiV1PlayersActiveGet | GET /api/v1/players/active | Get active players by Career year |
apiV1PlayersMostRunsGet | GET /api/v1/players/most_runs | Get player who has the most_runs |
ActivePlayers apiV1PlayersActiveGet(careerYear)
Get active players by Career year
Returns a list of player names by Career year
Name | Type | Description | Notes |
---|---|---|---|
careerYear | Integer | year that the player is still in career | [default to null] |
- Content-Type: Not defined
- Accept: application/json
MostRuns apiV1PlayersMostRunsGet(careerEndYear)
Get player who has the most_runs
Returns a player name and his most_runs
Name | Type | Description | Notes |
---|---|---|---|
careerEndYear | Integer | year that the player ends his career | [optional] [default to null] |
- Content-Type: Not defined
- Accept: application/json