GitHubUserModel

pydantic model safir.github.models.GitHubUserModel

A Pydantic model for the user field found in GitHub API resources.

This contains brief (public) info about a user.

Parameters:

data (Any)

Fields:
field avatar_url: HttpUrl [Required]

URL to the user’s avatar.

field html_url: HttpUrl [Required]

Homepage for the user on GitHub.

field login: str [Required]

GitHub username.

field url: HttpUrl [Required]

URL for the user’s resource in the GitHub API.