public final class ApiBuilder extends Object
Constructor and Description |
---|
ApiBuilder(String apiKey) |
ApiBuilder(String apiKey,
String clientKey) |
Modifier and Type | Method and Description |
---|---|
URL |
getImageUrl(BaseType baseType,
String id)
Generate the URL for the artwork requests
|
URL |
getLatestUrl(BaseType baseType,
String date)
Generate the URL for the "latest" requests
|
public ApiBuilder(String apiKey)
public URL getImageUrl(BaseType baseType, String id) throws FanartTvException
baseType
- id
- FanartTvException
public URL getLatestUrl(BaseType baseType, String date) throws FanartTvException
baseType
- date
- FanartTvException
Copyright © 2012–2018. All rights reserved.