インタフェース UsersApi


public interface UsersApi
  • メソッドの詳細

    • getUser

      User getUser()
      Returns the specific user information through the GitHub API https://api.github.com/users/username.
      戻り値:
      The user information
    • getUser

      User getUser​(@NonNull @NonNull QueryParameter queryParameter)
      Returns the specific user information through the GitHub API https://api.github.com/users/username.
      パラメータ:
      queryParameter - The query parameter
      戻り値:
      The user information
      例外:
      NullPointerException - If null is passed as an argument
    • getFollowingUsers

      List<FollowingUser> getFollowingUsers()
      Returns the specific user's following information through the GitHub API https://api.github.com/users/username/following.
      戻り値:
      The user's following information
    • getFollowingUsers

      List<FollowingUser> getFollowingUsers​(@NonNull @NonNull QueryParameter queryParameter)
      Returns the specific user's following information through the GitHub API https://api.github.com/users/username/following.
      パラメータ:
      queryParameter - The query parameter
      戻り値:
      The specified user's following information
      例外:
      NullPointerException - If null is passed as an argument
    • getUserFollowers

      List<UserFollower> getUserFollowers()
      Returns the specific user's follower information through the GitHub API https://api.github.com/users/username/follower.
      戻り値:
      The user's follower information
    • getUserFollowers

      List<UserFollower> getUserFollowers​(@NonNull @NonNull QueryParameter queryParameter)
      Returns the specific user's follower information through the GitHub API https://api.github.com/users/username/follower?per_page=xxx.
      パラメータ:
      queryParameter - The query parameter
      戻り値:
      The specified user's follower information
      例外:
      NullPointerException - If null is passed as an argument
    • getUserRepositories

      List<UserRepository> getUserRepositories()
      Returns the specific user's repository information through the GitHub API https://api.github.com/users/username/repos.
      戻り値:
      The user's repository information
    • getUserRepositories

      List<UserRepository> getUserRepositories​(@NonNull @NonNull QueryParameter queryParameter)
      Returns the specific user's repository information through the GitHub API https://api.github.com/users/username/repos.
      パラメータ:
      queryParameter - The query parameter
      戻り値:
      The user's repository information
      例外:
      NullPointerException - If null is passed as an argument
    • getReceivedEvents

      List<ReceivedEvent> getReceivedEvents()
      Returns the specific received events information through the GitHub API https://api.github.com/users/username/received_events.
      戻り値:
      The received events information
    • getReceivedEvents

      List<ReceivedEvent> getReceivedEvents​(@NonNull @NonNull QueryParameter queryParameter)
      Returns the specific received events information through the GitHub API https://api.github.com/users/username/received_events.
      パラメータ:
      queryParameter - The query parameter
      戻り値:
      The received events information
      例外:
      NullPointerException - If null is passed as an argument
    • getUserSubscriptions

      List<UserSubscription> getUserSubscriptions()
      Returns the specific user's subscription information through the GitHub API https://api.github.com/users/username/subscriptions.
      戻り値:
      The specific user's subscription information
    • getUserSubscriptions

      List<UserSubscription> getUserSubscriptions​(@NonNull @NonNull QueryParameter queryParameter)
      Returns the specific user's subscription information through the GitHub API https://api.github.com/users/username/subscriptions.
      パラメータ:
      queryParameter - The query parameter
      戻り値:
      The specific user's subscription information
      例外:
      NullPointerException - If null is passed as an argument