Class: Football::Butler::Apifootball::Players
- Inherits:
-
BaseApifootball
- Object
- Base
- BaseApifootball
- Football::Butler::Apifootball::Players
- Defined in:
- lib/football/butler/apifootball/players.rb
Constant Summary collapse
- PATH =
:get_players
Constants inherited from Base
Class Method Summary collapse
-
.by_id(id:) ⇒ Object
PLAYER action=get_players?player_id=id.
-
.by_name(name:, result:) ⇒ Object
action=get_players?name=name.
Methods inherited from BaseApifootball
Methods inherited from Base
api_class, api_switch, api_switch_method, api_switch_result, error_message, invalid_config_result, not_found_result, reached_limit?, this_class, unsupported_api_call, unsupported_api_endpoint