Examples of withIds()


Examples of com.google.code.stackexchange.client.provider.url.ApiUrlBuilder.withIds()

   * @see com.google.code.stackexchange.client.StackOverflowApiClient#getUsersTimeline(com.google.code.stackexchange.schema.TimePeriod, long[])
   */
  @Override
  public PagedList<UserTimeline> getUsersTimeline(TimePeriod timePeriod, long... userIds) {
    ApiUrlBuilder builder = createStackOverflowApiUrlBuilder(StackExchangeApiMethods.GET_USER_TIMELINE);
        String                apiUrl  = builder.withIds(userIds).withTimePeriod(timePeriod).buildUrl();

        return unmarshallList(UserTimeline.class, callApiMethod(apiUrl));
  }

  /* (non-Javadoc)
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.