com.jakewharton.trakt.services
Class ShowService.SummaryBuilder

java.lang.Object
  extended by com.jakewharton.apibuilder.ApiBuilder
      extended by com.jakewharton.trakt.TraktApiBuilder<TvShow>
          extended by com.jakewharton.trakt.services.ShowService.SummaryBuilder
Enclosing class:
ShowService

public static final class ShowService.SummaryBuilder
extends TraktApiBuilder<TvShow>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jakewharton.trakt.TraktApiBuilder
TraktApiBuilder.HttpMethod
 
Field Summary
 
Fields inherited from class com.jakewharton.trakt.TraktApiBuilder
FIELD_API_KEY, FIELD_DATE, FIELD_DAYS, FIELD_EPISODE, FIELD_EXTENDED, FIELD_QUERY, FIELD_SEASON, FIELD_TITLE, FIELD_USERNAME
 
Fields inherited from class com.jakewharton.apibuilder.ApiBuilder
API_URL_DELIMITER_END, API_URL_DELIMITER_START
 
Method Summary
 ShowService.SummaryBuilder extended()
          Returns complete season and episode info.
 ShowService.SummaryBuilder title(String title)
          Either the slug (i.e.
 
Methods inherited from class com.jakewharton.trakt.TraktApiBuilder
dateToUnixTimestamp, execute, field, field, fire, hasPostParameter, includeDebugStrings, parameter, parameter, parameter, performValidation, postFireCallback, postParameter, postParameter, postParameter, postParameter, preFireCallback, print
 
Methods inherited from class com.jakewharton.apibuilder.ApiBuilder
buildUrl, buildUrl, encodeUrl, field, field, field, field, field, hasField, hasParameter, parameter, parameter, parameter, parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

title

public ShowService.SummaryBuilder title(String title)
Either the slug (i.e. the-walking-dead) or TVDB ID. You can get a show's slug by browsing the website and looking at the URL when on a show summary page.

Parameters:
title - Value.
Returns:
Builder instance.

extended

public ShowService.SummaryBuilder extended()
Returns complete season and episode info. Only send this if you really need the full dump. Use the show/seasons and show/season methods if you only need some of the season or episode info.

Returns:
Builder instance.


Copyright © 2011 Jake Wharton. All Rights Reserved.