Class: Crawlora::MlbGroup

Inherits:
Object
  • Object
show all
Defined in:
sig/crawlora.rbs

Instance Method Summary collapse

Constructor Details

#initializeMlbGroup

Returns a new instance of MlbGroup.

Parameters:

  • (Client)
  • (Hash[String, String])


719
# File 'sig/crawlora.rbs', line 719

def initialize: (Client, Hash[String, String]) -> void

Instance Method Details

#gameObject

Parameters:

  • id: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


720
# File 'sig/crawlora.rbs', line 720

def game: (?id: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#game_boxscoreObject

Parameters:

  • id: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


721
# File 'sig/crawlora.rbs', line 721

def game_boxscore: (?id: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#game_play_by_playObject

Parameters:

  • id: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


722
# File 'sig/crawlora.rbs', line 722

def game_play_by_play: (?id: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#league_statsObject

Parameters:

  • season: (Integer)
  • group: ("hitting", "pitching", "fielding")
  • limit: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


723
# File 'sig/crawlora.rbs', line 723

def league_stats: (?season: Integer, ?group: "hitting" | "pitching" | "fielding", ?limit: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#playerObject

Parameters:

  • id: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


724
# File 'sig/crawlora.rbs', line 724

def player: (?id: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#player_statsObject

Parameters:

  • id: (String)
  • season: (Integer)
  • group: ("hitting", "pitching", "fielding")
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


725
# File 'sig/crawlora.rbs', line 725

def player_stats: (?id: String, ?season: Integer, ?group: "hitting" | "pitching" | "fielding", ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#scheduleObject

Parameters:

  • date: (String)
  • start_date: (String)
  • end_date: (String)
  • team_id: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


726
# File 'sig/crawlora.rbs', line 726

def schedule: (?date: String, ?start_date: String, ?end_date: String, ?team_id: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#standingsObject

Parameters:

  • season: (Integer)
  • type: ("regularSeason", "wildCard", "springTraining")
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


727
# File 'sig/crawlora.rbs', line 727

def standings: (?season: Integer, ?type: "regularSeason" | "wildCard" | "springTraining", ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#team_rosterObject

Parameters:

  • team_id: (String)
  • season: (Integer)
  • roster_type: ("active", "40Man", "fullSeason")
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


728
# File 'sig/crawlora.rbs', line 728

def team_roster: (?team_id: String, ?season: Integer, ?roster_type: "active" | "40Man" | "fullSeason", ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#team_statsObject

Parameters:

  • team_id: (String)
  • season: (Integer)
  • group: ("hitting", "pitching", "fielding")
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


729
# File 'sig/crawlora.rbs', line 729

def team_stats: (?team_id: String, ?season: Integer, ?group: "hitting" | "pitching" | "fielding", ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#teamsObject

Parameters:

  • season: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


730
# File 'sig/crawlora.rbs', line 730

def teams: (?season: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#transactionsObject

Parameters:

  • start_date: (String)
  • end_date: (String)
  • team_id: (String)
  • player_id: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


731
# File 'sig/crawlora.rbs', line 731

def transactions: (?start_date: String, ?end_date: String, ?team_id: String, ?player_id: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped