NamedUser

class github.NamedUser.NamedUser

This class represents NamedUsers. The reference can be found here https://developer.github.com/v3/users/#get-a-single-user

node_id
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.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.datetime
team_count
Type:integer
total_private_repos
Type:integer
type
Type:string
updated_at
Type:datetime.datetime
url
Type:string
get_events()
Calls:GET /users/:user/events
Return type:github.PaginatedList.PaginatedList of github.Event.Event
get_followers()
Calls:GET /users/:user/followers
Return type:github.PaginatedList.PaginatedList of github.NamedUser.NamedUser
get_following()
Calls:GET /users/:user/following
Return type:github.PaginatedList.PaginatedList of github.NamedUser.NamedUser
get_gists(since=NotSet)
Calls:GET /users/:user/gists
Parameters:since – datetime.datetime format YYYY-MM-DDTHH:MM:SSZ
Return type:github.PaginatedList.PaginatedList of github.Gist.Gist
get_keys()
Calls:GET /users/:user/keys
Return type:github.PaginatedList.PaginatedList of github.UserKey.UserKey
get_orgs()
Calls:GET /users/:user/orgs
Return type:github.PaginatedList.PaginatedList of github.Organization.Organization
get_public_events()
Calls:GET /users/:user/events/public
Return type:github.PaginatedList.PaginatedList of github.Event.Event
get_public_received_events()
Calls:GET /users/:user/received_events/public
Return type:github.PaginatedList.PaginatedList of github.Event.Event
get_received_events()
Calls:GET /users/:user/received_events
Return type:github.PaginatedList.PaginatedList of github.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:

GET /users/:user/repos

Parameters:
  • type – string
  • sort – string
  • direction – string
Return type:

github.PaginatedList.PaginatedList of github.Repository.Repository

get_starred()
Calls:GET /users/:user/starred
Return type:github.PaginatedList.PaginatedList of github.Repository.Repository
get_subscriptions()
Calls:GET /users/:user/subscriptions
Return type:github.PaginatedList.PaginatedList of github.Repository.Repository
get_watched()
Calls:GET /users/:user/watched
Return type:github.PaginatedList.PaginatedList of github.Repository.Repository
has_in_following(following)
Calls:GET /users/:user/following/:target_user
Parameters:followinggithub.NamedUser.NamedUser
Return type:bool