public abstract class PodcastLookup extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
BASE_LOOKUP_URL |
| Constructor and Description |
|---|
PodcastLookup() |
| Modifier and Type | Method and Description |
|---|---|
static org.json.JSONObject |
comedyPodcasts()
get a list of 100 comedy podcasts in the iTunes store
|
static org.json.JSONObject |
comedyPodcasts(int limit)
get a list of (limit) comedy podcasts in the iTunes store
|
protected static org.json.JSONObject |
executeQuery(String urlString) |
static org.json.JSONObject |
getById(long id)
retrieve a media item by its id
|
static org.json.JSONObject |
newsAndPoliticsPodcasts()
get a list of 100 news & politics podcasts in the iTunes store
|
static org.json.JSONObject |
newsAndPoliticsPodcasts(int limit)
get a list of (limit) news & politics podcasts in the iTunes store
|
static org.json.JSONObject |
societyAndCulturePodcasts()
get a list of 100 society & culture podcasts in the iTunes store
|
static org.json.JSONObject |
societyAndCulturePodcasts(int limit)
get a list of (limit) society & culture podcasts in the iTunes store
|
static org.json.JSONObject |
topPodcasts()
get the top 100 podcasts in the default iTunes store
|
static org.json.JSONObject |
topPodcasts(com.neovisionaries.i18n.CountryCode countryCode)
get the top 100 podcasts in the default iTunes store
|
static org.json.JSONObject |
topPodcasts(com.neovisionaries.i18n.CountryCode countryCode,
int limit)
get the top (limit) podcasts in the default iTunes store
|
static org.json.JSONObject |
topPodcasts(int limit)
get the top (limit) podcasts in the default iTunes store
|
protected static final String BASE_LOOKUP_URL
public static org.json.JSONObject topPodcasts()
public static org.json.JSONObject topPodcasts(com.neovisionaries.i18n.CountryCode countryCode)
public static org.json.JSONObject topPodcasts(int limit)
limit - the maximum number of podcasts to returnpublic static org.json.JSONObject topPodcasts(com.neovisionaries.i18n.CountryCode countryCode,
int limit)
limit - the maximum number of podcasts to returnpublic static org.json.JSONObject comedyPodcasts()
public static org.json.JSONObject comedyPodcasts(int limit)
limit - the maximum number of podcasts to returnpublic static org.json.JSONObject newsAndPoliticsPodcasts()
public static org.json.JSONObject newsAndPoliticsPodcasts(int limit)
limit - the maximum number of podcasts to returnpublic static org.json.JSONObject societyAndCulturePodcasts()
public static org.json.JSONObject societyAndCulturePodcasts(int limit)
limit - the maximum number of podcasts to returnpublic static org.json.JSONObject getById(long id)
throws NoMatchFoundException
id - the itunes id for the itemNoMatchFoundException - if no matching item is foundprotected static org.json.JSONObject executeQuery(String urlString)
Copyright © 2018. All rights reserved.