Class: FootballApi::Standing

Inherits:
BaseRequest show all
Includes:
Requestable
Defined in:
lib/football_api/standing.rb

Constant Summary

Constants inherited from BaseRequest

BaseRequest::RETRIES

Constants included from Symbolizer

FootballApi::Symbolizer::HASH_OR_ARRAY_KEYS

Class Attribute Summary collapse

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Requestable

included

Methods inherited from BaseRequest

action_query, get!, get_parameters, response

Methods included from Symbolizer

included

Constructor Details

#initialize(hash = {}) ⇒ Standing

Returns a new instance of Standing.



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/football_api/standing.rb', line 68

def initialize(hash = {})
  @stand_id             = hash[:stand_id]
  @stand_competition_id = hash[:stand_competition_id]
  @stand_season         = hash[:stand_season]
  @stand_round          = hash[:stand_round]
  @stand_stage_id       = hash[:stand_stage_id]
  @stand_group          = hash[:stand_group]
  @stand_country        = hash[:stand_country]
  @stand_team_id        = hash[:stand_team_id]
  @stand_team_name      = hash[:stand_team_name]
  @stand_status         = hash[:stand_status]
  @stand_recent_form    = hash[:stand_recent_form]
  @stand_position       = hash[:stand_position]
  @stand_overall_gp     = hash[:stand_overall_gp]
  @stand_overall_w      = hash[:stand_overall_w]
  @stand_overall_d      = hash[:stand_overall_d]
  @stand_overall_l      = hash[:stand_overall_l]
  @stand_overall_gs     = hash[:stand_overall_gs]
  @stand_overall_ga     = hash[:stand_overall_ga]
  @stand_home_gp        = hash[:stand_home_gp]
  @stand_home_w         = hash[:stand_home_w]
  @stand_home_d         = hash[:stand_home_d]
  @stand_home_l         = hash[:stand_home_l]
  @stand_home_gs        = hash[:stand_home_gs]
  @stand_home_ga        = hash[:stand_home_ga]
  @stand_away_gp        = hash[:stand_away_gp]
  @stand_away_w         = hash[:stand_away_w]
  @stand_away_d         = hash[:stand_away_d]
  @stand_away_l         = hash[:stand_away_l]
  @stand_away_gs        = hash[:stand_away_gs]
  @stand_away_ga        = hash[:stand_away_ga]
  @stand_gd             = hash[:stand_gd]
  @stand_points         = hash[:stand_points]
  @stand_desc           = hash[:stand_desc]
end

Class Attribute Details

.competition_idObject

Returns the value of attribute competition_id.



8
9
10
# File 'lib/football_api/standing.rb', line 8

def competition_id
  @competition_id
end

Instance Attribute Details

#stand_away_dObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_away_d
  @stand_away_d
end

#stand_away_gaObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_away_ga
  @stand_away_ga
end

#stand_away_gpObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_away_gp
  @stand_away_gp
end

#stand_away_gsObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_away_gs
  @stand_away_gs
end

#stand_away_lObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_away_l
  @stand_away_l
end

#stand_away_wObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_away_w
  @stand_away_w
end

#stand_competition_idObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_competition_id
  @stand_competition_id
end

#stand_countryObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_country
  @stand_country
end

#stand_descObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_desc
  @stand_desc
end

#stand_gdObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_gd
  @stand_gd
end

#stand_groupObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_group
  @stand_group
end

#stand_home_dObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_home_d
  @stand_home_d
end

#stand_home_gaObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_home_ga
  @stand_home_ga
end

#stand_home_gpObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_home_gp
  @stand_home_gp
end

#stand_home_gsObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_home_gs
  @stand_home_gs
end

#stand_home_lObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_home_l
  @stand_home_l
end

#stand_home_wObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_home_w
  @stand_home_w
end

#stand_idObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_id
  @stand_id
end

#stand_overall_dObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_overall_d
  @stand_overall_d
end

#stand_overall_gaObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_overall_ga
  @stand_overall_ga
end

#stand_overall_gpObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_overall_gp
  @stand_overall_gp
end

#stand_overall_gsObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_overall_gs
  @stand_overall_gs
end

#stand_overall_lObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_overall_l
  @stand_overall_l
end

#stand_overall_wObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_overall_w
  @stand_overall_w
end

#stand_pointsObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_points
  @stand_points
end

#stand_positionObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_position
  @stand_position
end

#stand_recent_formObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_recent_form
  @stand_recent_form
end

#stand_roundObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_round
  @stand_round
end

#stand_seasonObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_season
  @stand_season
end

#stand_stage_idObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_stage_id
  @stand_stage_id
end

#stand_statusObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_status
  @stand_status
end

#stand_team_idObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_team_id
  @stand_team_id
end

#stand_team_nameObject

Response sample : [

{
  "stand_id"=>"12049092",
  "stand_competition_id"=>"1204",
  "stand_season"=>"2014/2015",
  "stand_round"=>"22",
  "stand_stage_id"=>"12041081",
  "stand_group"=>"",
  "stand_country"=>"England",
  "stand_team_id"=>"9092",
  "stand_team_name"=>"Chelsea",
  "stand_status"=>"same",
  "stand_recent_form"=>"WWLDW",
  "stand_position"=>"1",
  "stand_overall_gp"=>"22",
  "stand_overall_w"=>"16",
  "stand_overall_d"=>"4",
  "stand_overall_l"=>"2",
  "stand_overall_gs"=>"51",
  "stand_overall_ga"=>"19",
  "stand_home_gp"=>"10",
  "stand_home_w"=>"10",
  "stand_home_d"=>"0",
  "stand_home_l"=>"0",
  "stand_home_gs"=>"24",
  "stand_home_ga"=>"3",
  "stand_away_gp"=>"12",
  "stand_away_w"=>"10",
  "stand_away_d"=>"0",
  "stand_away_l"=>"0",
  "stand_away_gs"=>"24",
  "stand_away_ga"=>"3",
  "stand_gd"=>"32",
  "stand_points"=>"52",
  "stand_desc"=>"Promotion - Champions League (Group Stage)"
}, ...

]



60
61
62
# File 'lib/football_api/standing.rb', line 60

def stand_team_name
  @stand_team_name
end

Class Method Details

.all_from_competition(competition) ⇒ Object



10
11
12
13
14
# File 'lib/football_api/standing.rb', line 10

def all_from_competition(competition)
  self.competition_id = competition.is_a?(Competition) ? competition.id : competition

  Array(response).map{ |standing| new(standing) }
end

.standing_paramsObject



16
17
18
# File 'lib/football_api/standing.rb', line 16

def standing_params
  { comp_id: self.competition_id }
end