Packages

An Elixir client for Betradar's Unified Odds Feed (UOF) API

Current section

Files

Jump to
uof_api lib uof api mappings player.ex
Raw

lib/uof/api/mappings/player.ex

defmodule UOF.API.Mappings.Player do
@moduledoc false
use Saxaboom.Mapper
document do
attribute(:type)
attribute(:date_of_birth)
attribute(:nationality)
attribute(:country_code)
attribute(:height, cast: :integer)
attribute(:weight, cast: :integer)
attribute(:jersey_number, cast: :integer)
attribute(:full_name)
attribute(:gender)
attribute(:id)
attribute(:name)
end
end