Interface DefaultSportradarMlbApiServiceInterface

Hierarchy

  • DefaultSportradarMlbApiServiceInterface

Implemented by

Properties

defaultHeaders: {}

Type declaration

    Methods

    • Daily Boxscore Inning-by-inning scoring breakdown, top-level runs, hits and errors by team, as well as details on run-scoring events for all games on a given MLB defined day.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • month: number

        (Required) Locale used for translations

      • day: number

        (Required) Locale used for translations

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Daily Change Log Provides IDs and timestamps for teams, players, game statistics, schedules, and standings that have been modified on a given date. To receive the data updates, use these unique IDs to pull relevant API feeds.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • month: number

        (Required) Month in 2 digit format

      • day: number

        (Required) Day in 2 digit format

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Daily Schedule The date, time and location for all games on a given MLB defined day.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • month: number

        (Required) Month in 2 digit format

      • day: number

        (Required) Day in 2 digit format

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Daily Summary Team lineups as well as team and player statistics for all games on a given MLB defined day.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • month: number

        (Required) Month in 2 digit format

      • day: number

        (Required) Day in 2 digit format

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Daily Transactions Information concerning all transactions taking place on a given MLB defined day.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • month: number

        (Required) Month in 2 digit format

      • day: number

        (Required) Day in 2 digit format

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Game Boxscore Inning-by-inning scoring breakdown, hits and errors by team, win/loss results, as well as details on run-scoring events for a given game.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • game_id: string

        (Required) ID of a game

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Game Extended Summary Inning-by-inning scoring, key game events, lineups, and team and player statistics for the given game and season-to-date.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • game_id: string

        (Required) ID of a game

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Game Summary Team lineups as well as team and player statistics for a given game.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • game_id: string

        (Required) ID of a game

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Glossary Full text descriptions for pitch ids, player status ids, outcome ids, and game status ids.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Injuries Information concerning all current injuries across the league.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • League Depth Chart Current depth chart positions for every MLB team.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • League Hierarchy Provides top-level information for each team, including league and division distinction, and venue information.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • League Leaders AL, NL, and MLB leader information for various hitting and pitching statistics.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • season_type: string

        (Required) Season type as Regular (REG)

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • League Schedule Complete schedule information for a given season, including venue and broadcast info.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • season_type: string

        (Required) Season type as Preseason (PRE), Regular (REG), Postseason (PST), or All-Star Game (AST)

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Play by Play Detailed, real-time information on every pitch and game event.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • game_id: string

        (Required) ID of a game

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Player Profile Player biographical information, including current and historical seasonal statistics and splits.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • player_id: string

        (Required) ID of a player

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Rankings League and division rank for each team, including post season clinching status.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • season_type: string

        (Required) Season type as Regular (REG)

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Seasonal Pitch Metrics Detailed metrics on pitch type, velocity, and results for a given pitcher by season.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • player_id: string

        (Required) ID of a player

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Seasonal Splits Detailed splits for a given team and all players on the roster.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • season_type: string

        (Required) Season type as Regular (REG) or Postseason (PST)

      • team_id: string

        (Required) ID of a team

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Seasonal Statistics Detailed season-to-date stats for given team and all players on the roster.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • season_type: string

        (Required) Season type as Preseason (PRE), Regular (REG), or Postseason (PST)

      • team_id: string

        (Required) ID of a team

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Seasonal Transactions Information concerning all transactions taking place in a given MLB season.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Seasons Provides a complete list of historical season information available in the API.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Series Schedule Postseason participant information as well as the date, time, location, and other event details for every match-up taking place for the entire postseason.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • season_type: string

        (Required) Season type as Postseason (PST)

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Series Statistics Detailed series-to-date stats for a given team and all players on the roster.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • series_id: string

        (Required) ID of a season

      • team_id: string

        (Required) ID of a team

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Series Summary Team and player statistics for a given postseason series.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • series_id: string

        (Required) ID of a series

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Standings Detailed standings information for each MLB division.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • season_type: string

        (Required) Season type as Preseason (PRE) or Regular (REG)

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Statcast Leaders Statcast leader information for various hitting and pitching statistics.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • year: number

        (Required) Year in 4 digit format

      • season_type: string

        (Required) Season type as Regular (REG)

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Team Depth Charts Current depth chart for all positions on a given team.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • team_id: string

        (Required) ID of a team

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Team Profile Top-level team information including all players currently on the 25-man roster, 40-man roster, or expected to join the team.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • team_id: string

        (Required) ID of a team

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    • Venues Provides the name, location, and capacity of each venue, along with the dimensions of each field.

      Parameters

      • locale: string

        (Required) Locale used for translations

      • format: string
      • Optional extraHttpRequestParams: any

      Returns Observable<{}>

    Generated using TypeDoc