ghapi.users#
- class ghapi.users.User(username: str, conn: Optional[Connection] = None)[source]#
Implements a User object
>>> from ghapi import User >>> user = User("frgfm") >>> user.get_info()
- Parameters
username – GitHub login
conn – connection object
- get_info() Dict[str, Union[str, Dict[str, str]]] [source]#
Parses high-level information from the User
- list_repos(**kwargs: Any) List[str] [source]#
List the pull requests of a repository.
- Parameters
kwargs – query parameters of GitHub API
- Returns
list of repositories’ names