NamedUser¶
-
class
github.NamedUser.NamedUser¶ This class represents NamedUsers. The reference can be found here https://docs.github.com/en/rest/reference/users#get-a-user
-
node_id¶ Type: string
-
twitter_username¶ Type: string
-
avatar_url¶ Type: string
-
bio¶ Type: string
-
blog¶ Type: string
-
collaborators¶ Type: integer
-
company¶ Type: string
-
contributions¶ Type: integer
-
created_at¶ Type: datetime
-
disk_usage¶ Type: integer
-
email¶ Type: string
-
events_url¶ Type: string
-
followers¶ Type: integer
-
followers_url¶ Type: string
-
following¶ Type: integer
-
following_url¶ Type: string
-
gists_url¶ Type: string
-
gravatar_id¶ Type: string
-
hireable¶ Type: bool
-
html_url¶ Type: string
-
id¶ Type: integer
-
invitation_teams_url¶ Type: string
-
inviter¶ Type: github.NamedUser.NamedUser
-
location¶ Type: string
-
login¶ Type: string
-
name¶ Type: string
-
organizations_url¶ Type: string
-
owned_private_repos¶ Type: integer
-
permissions¶ Type: github.Permissions.Permissions
-
plan¶ Type: github.Plan.Plan
-
private_gists¶ Type: integer
-
public_gists¶ Type: integer
-
public_repos¶ Type: integer
-
received_events_url¶ Type: string
-
repos_url¶ Type: string
-
role¶ Type: string
-
site_admin¶ Type: bool
-
starred_url¶ Type: string
-
subscriptions_url¶ Type: string
-
suspended_at¶ Type: datetime
-
team_count¶ Type: integer
-
total_private_repos¶ Type: integer
-
type¶ Type: string
-
updated_at¶ Type: datetime
-
url¶ Type: string
-
get_events()¶ Calls: GET /users/{user}/events Return type: github.PaginatedList.PaginatedListofgithub.Event.Event
-
get_followers()¶ Calls: GET /users/{user}/followers Return type: github.PaginatedList.PaginatedListofgithub.NamedUser.NamedUser
-
get_following()¶ Calls: GET /users/{user}/following Return type: github.PaginatedList.PaginatedListofgithub.NamedUser.NamedUser
-
get_gists(since=NotSet)¶ Calls: GET /users/{user}/gists Parameters: since – datetime format YYYY-MM-DDTHH:MM:SSZ Return type: github.PaginatedList.PaginatedListofgithub.Gist.Gist
-
get_keys()¶ Calls: GET /users/{user}/keys Return type: github.PaginatedList.PaginatedListofgithub.UserKey.UserKey
-
get_orgs()¶ Calls: GET /users/{user}/orgs Return type: github.PaginatedList.PaginatedListofgithub.Organization.Organization
-
get_projects(state='open')¶ Calls: GET /users/{user}/projects Parameters: state – string Return type: github.PaginatedList.PaginatedListofgithub.Project.Project
-
get_public_events()¶ Calls: GET /users/{user}/events/public Return type: github.PaginatedList.PaginatedListofgithub.Event.Event
-
get_public_received_events()¶ Calls: GET /users/{user}/received_events/public Return type: github.PaginatedList.PaginatedListofgithub.Event.Event
-
get_received_events()¶ Calls: GET /users/{user}/received_events Return type: github.PaginatedList.PaginatedListofgithub.Event.Event
-
get_repo(name)¶ Calls: GET /repos/{owner}/{repo} Parameters: name – string Return type: github.Repository.Repository
-
get_repos(type=NotSet, sort=NotSet, direction=NotSet)¶ Calls: Parameters: - type – string
- sort – string
- direction – string
Return type: github.PaginatedList.PaginatedListofgithub.Repository.Repository
-
get_starred()¶ Calls: GET /users/{user}/starred Return type: github.PaginatedList.PaginatedListofgithub.Repository.Repository
-
get_subscriptions()¶ Calls: GET /users/{user}/subscriptions Return type: github.PaginatedList.PaginatedListofgithub.Repository.Repository
-
get_watched()¶ Calls: GET /users/{user}/watched Return type: github.PaginatedList.PaginatedListofgithub.Repository.Repository
-
has_in_following(following)¶ Calls: GET /users/{user}/following/{target_user} Parameters: following – github.NamedUser.NamedUserReturn type: bool
-
get_organization_membership(org)¶ Calls: GET /orgs/{org}/memberships/{username} Parameters: org – string or github.Organization.OrganizationReturn type: github.Membership.Membership
-