Package com.jcabi.github
Interface Users
-
@Immutable public interface Users
Github users.- Since:
- 0.1
- Version:
- $Id: 6ca2252624fd3560b059417b746f81563ee819ec $
- Author:
- Yegor Bugayenko (yegor256@gmail.com)
- See Also:
- Users API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description User
add(String login)
Add user by login and returns it.User
get(String login)
Get user by login.Github
github()
Github we're in.Iterable<User>
iterate(String identifier)
Iterate all users, starting with the one you've seen already.User
self()
Get myself.
-
-
-
Method Detail
-
github
Github github()
Github we're in.- Returns:
- Github
-
self
User self()
Get myself.- Returns:
- Myself
-
get
User get(String login)
Get user by login.- Parameters:
login
- Login of it- Returns:
- User
- See Also:
- Get a Single User
-
add
User add(String login)
Add user by login and returns it.- Parameters:
login
- Login of it- Returns:
- Added user
-
iterate
Iterable<User> iterate(String identifier)
Iterate all users, starting with the one you've seen already.- Parameters:
identifier
- The integer ID of the last User that you’ve seen.- Returns:
- Iterator of gists
- See Also:
- Get All Users
-
-