Weather

Get the raw field weather data.

Returns a json file containing weather for the current play.

get/api/v1/weather/game/{gamePk}/{playId}

Request

  • Base URL: https://statsapi.mlb.com
  • URL: https://statsapi.mlb.com/api/v1/weather/game/{gamePk}/{playId}
  • Auth: none declared

Path parameters

gamePkinteger required

Unique Primary Key Representing a Game

playIdstring required

Unique identifier for a play within a game

Query parameters

fieldsstring[]

Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.