Person¶
griddy / nfl / models / entities / person**
person
¶
Classes¶
PersonTypedDict
¶
Bases: TypedDict
flowchart TD
griddy.nfl.models.entities.person.PersonTypedDict[PersonTypedDict]
click griddy.nfl.models.entities.person.PersonTypedDict href "" "griddy.nfl.models.entities.person.PersonTypedDict"
Attributes¶
college_names
instance-attribute
¶
Colleges the person attended
headshot
instance-attribute
¶
A URL for the person's headshot used in Media
jersey_number
instance-attribute
¶
Number the player wears on the field.
nfl_experience
instance-attribute
¶
Number of years the person has been a part of the NFL
Person
¶
Bases: BaseModel
flowchart TD
griddy.nfl.models.entities.person.Person[Person]
griddy.nfl.types.basemodel.BaseModel[BaseModel]
griddy.nfl.types.basemodel.BaseModel --> griddy.nfl.models.entities.person.Person
click griddy.nfl.models.entities.person.Person href "" "griddy.nfl.models.entities.person.Person"
click griddy.nfl.types.basemodel.BaseModel href "" "griddy.nfl.types.basemodel.BaseModel"
Attributes¶
college_names
instance-attribute
¶
Colleges the person attended
display_name
instance-attribute
¶
First and last name
birth_date
class-attribute
instance-attribute
¶
Person's date of birth as YYYY-MM-DD
first_name
instance-attribute
¶
Person's formal first name
common_first_name
instance-attribute
¶
e.g. Mike instead of Michael
esb_id
instance-attribute
¶
Another form of ID tracked by the NFL
gsis_id
class-attribute
instance-attribute
¶
Yet another ID
headshot
class-attribute
instance-attribute
¶
A URL for the person's headshot used in Media
internation_exempt
instance-attribute
¶
Not sure what this is
jersey_number
class-attribute
instance-attribute
¶
jersey_number: Annotated[
Optional[str],
Field(alias=jerseyNumber),
BeforeValidator(int_to_str),
] = None
Number the player wears on the field.
nfl_experience
instance-attribute
¶
Number of years the person has been a part of the NFL
position_group
instance-attribute
¶
Player's position group