示例#1
0
 /**
  * 認証したユーザがフォローしているキーワードのリストを取得します。<br>
  * <i>http://h.hatena.ne.jp/api/statuses/keywords.xml</i>
  *
  * @see <a href="http://h.hatena.ne.jp/api#statuses-keywords">statuses/keywords</a>
  * @return 認証したユーザがフォローしているキーワードリスト
  * @throws HatenaHaikuException
  * @since v0.0.1
  */
 public List<Keyword> getFollowingKeywordList() throws HatenaHaikuException {
   return getFollowingKeywordList(EntityAPI.<Keyword>createCollectOp());
 }
示例#2
0
 /**
  * 認証したユーザがフォローしているユーザのリストを100件取得します。(指定ページ)<br>
  * <i>http://h.hatena.ne.jp/api/statuses/friends.xml&page=<font color="red">ページ</font></i>
  *
  * @see <a href="http://h.hatena.ne.jp/api#statuses-friends">statuses/friends</a>
  * @param page ページ
  * @return 認証したユーザがフォローしているユーザのリスト(指定ページ)
  * @throws HatenaHaikuException
  * @since v0.0.1
  */
 public List<User> getFollowingList(int page) throws HatenaHaikuException {
   return getFollowingList(EntityAPI.<User>createCollectOp(), page);
 }
示例#3
0
 /**
  * 認証したユーザをフォローしているユーザのリストを取得します。<br>
  * フォロワーはページ指定できず、一気に全員分取得されるようです。<br>
  * <i>http://h.hatena.ne.jp/api/statuses/followers.xml</i>
  *
  * @see <a href="http://h.hatena.ne.jp/api#statuses-followers">statuses/followers</a>
  * @return 認証したユーザをフォローしているユーザのリスト
  * @throws HatenaHaikuException
  * @since v0.0.1
  */
 public List<User> getFollowersList() throws HatenaHaikuException {
   return getFollowersList(EntityAPI.<User>createCollectOp());
 }
示例#4
0
 /**
  * 認証したユーザの人気のユーザタイムラインを取得します。<br>
  * <i>http://h.hatena.ne.jp/api/statuses/user_timeline.xml</i>
  *
  * @see <a href="http://h.hatena.ne.jp/api#statuses-user_timeline">statuses/user_timeline</a>
  * @param page 取得するページです。最大数は100です。
  * @param count 取得数を指定します。最大数は 200 です。
  * @param since その日時よりも新しい投稿のみに絞り込むための日時を指定します。
  * @return 認証したユーザの人気のユーザタイムライン
  * @throws HatenaHaikuException
  * @since v1.0.0
  */
 public List<Status> getHotUserTimeline(int page, int count, Date since)
     throws HatenaHaikuException {
   return getHotUserTimeline(EntityAPI.<Status>createCollectOp(), page, count, since);
 }