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])


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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