Package weibo4j.model

Examples of weibo4j.model.RateLimitStatus


   * @see <a
   *      href="http://open.weibo.com/wiki/2/account/rate_limit_status">account/rate_limit_status</a>
   * @since JDK 1.5
   */
  public RateLimitStatus getAccountRateLimitStatus() throws WeiboException {
    return new RateLimitStatus(Weibo.client.get(WeiboConfig
        .getValue("baseURL") + "account/rate_limit_status.json"));
  }
View Full Code Here


    Weibo weibo = new Weibo();
    String access_token = args[0];
    weibo.setToken(access_token);
    Account am = new Account();
    try {
            RateLimitStatus json = am.getAccountRateLimitStatus();
      Log.logInfo(json.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

  public static void main(String[] args) {
    String access_token = args[0];
    Account am = new Account();
    am.client.setToken(access_token);
    try {
      RateLimitStatus json = am.getAccountRateLimitStatus();
      Log.logInfo(json.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

   * @see <a
   *      href="http://open.weibo.com/wiki/2/account/rate_limit_status">account/rate_limit_status</a>
   * @since JDK 1.5
   */
  public RateLimitStatus getAccountRateLimitStatus() throws WeiboException {
    return new RateLimitStatus(client.get(WeiboConfig.getValue("baseURL")
        + "account/rate_limit_status.json"));
  }
View Full Code Here

   * @see <a
   *      href="http://open.weibo.com/wiki/2/account/rate_limit_status">account/rate_limit_status</a>
   * @since JDK 1.5
   */
  public RateLimitStatus getAccountRateLimitStatus() throws WeiboException {
    return new RateLimitStatus(client.get(WeiboConfig
        .getValue("baseURL") + "account/rate_limit_status.json"));
  }
View Full Code Here

TOP

Related Classes of weibo4j.model.RateLimitStatus

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.