class Football::Butler::FootballData::Players

Constants

PATH

Public Class Methods

by_id(id:) click to toggle source
PLAYER

v2/players/{id}

# File lib/football/butler/football_data/players.rb, line 12
def by_id(id:)
  path = "#{PATH}/#{id}"
  Api.get(path: path)
end