public class FanartTvApi extends Object
Constructor and Description |
---|
FanartTvApi(String apiKey)
Create a new API instance with the given API Key.
|
FanartTvApi(String apiKey,
String clientKey)
Create a new API instance with the given API keys.
|
FanartTvApi(String apiKey,
String clientKey,
org.apache.http.client.HttpClient httpClient)
Create a new API instance with the given API Key and specific
CommonHttpClient
|
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
getMapper()
Provide access to the JSON mapper object
|
FTMovie |
getMovieArtwork(String id)
Get images for Movie
|
List<FTLatest> |
getMovieLatest(String date)
Latest Movies
|
FTMusicArtist |
getMusicAlbum(String id)
Get Album
|
FTMusicArtist |
getMusicArtist(String id)
Get images for artist
|
List<FTLatest> |
getMusicArtistLatest(String date)
Latest Artists
|
FTMusicLabel |
getMusicLabel(String id)
Get Label
|
FTSeries |
getTvArtwork(String id)
Get images for TV
|
List<FTLatest> |
getTvLatest(String date)
Latest Shows
|
public FanartTvApi(String apiKey) throws FanartTvException
apiKey
- FanartTvException
public FanartTvApi(String apiKey, String clientKey) throws FanartTvException
apiKey
- clientKey
- FanartTvException
public FanartTvApi(String apiKey, String clientKey, org.apache.http.client.HttpClient httpClient) throws FanartTvException
apiKey
- clientKey
- httpClient
- FanartTvException
public static com.fasterxml.jackson.databind.ObjectMapper getMapper()
public FTSeries getTvArtwork(String id) throws FanartTvException
id
- FanartTvException
public List<FTLatest> getTvLatest(String date) throws FanartTvException
date
- FanartTvException
public FTMovie getMovieArtwork(String id) throws FanartTvException
id
- FanartTvException
public List<FTLatest> getMovieLatest(String date) throws FanartTvException
date
- FanartTvException
public FTMusicArtist getMusicArtist(String id) throws FanartTvException
id
- FanartTvException
public FTMusicArtist getMusicAlbum(String id) throws FanartTvException
id
- FanartTvException
public FTMusicLabel getMusicLabel(String id) throws FanartTvException
id
- FanartTvException
public List<FTLatest> getMusicArtistLatest(String date) throws FanartTvException
date
- FanartTvException
Copyright © 2012–2018. All rights reserved.