Client library for interacting with the PocketCasts WebPlayer API.
You can see it in action here.
npm install pocketcasts
const assert = require('assert');
const PocketCasts = require('pocketcasts');
const pocketcasts = new PocketCasts('email', 'password');
pocketcasts.login()
.then(() => pocketcasts.getList())
.then(({ podcasts }) => assert(podcasts.length));
const assert = require('assert');
const PocketCasts = require('pocketcasts');
const pocketcasts = new PocketCasts('email', 'password');
(async () => {
const loggedIn = await pocketcasts.login();
assert(loggedIn);
const { podcasts } = await pocketcasts.getList();
assert(podcasts.length);
})();
The following is a list of API methods available to call once successfully logged in.
Returns a list of the currently logged-in users subscribed podcasts.
POST user/podcast/list
Returns a list of new releases for the currently logged-in users subscribed podcasts.
POST user/new_releases
Returns a list of in-progress episodes for the currently logged-in users subscribed podcasts.
POST user/in_progress
Returns a list of starred episodes for the currently logged-in users subscribed podcasts.
POST user/starred
Returns a list of previously listened episodes for the currently logged-in user.
POST user/history
Returns a number of stats for the currently logged-in user.
POST user/stats/summary
Returns a list of recommended podcast episodes for the currently logged in user.
POST discover/recommend_episodes
Returns search results for the provided search term query.
POST discover/search
Returns a list of podcast categories on PocketCasts.
GET categories_v2
Returns a list of themed and regional content currently featuring on PocketCasts.
GET content
Returns a list of currently featured content on PocketCasts.
GET featured
Returns a list of podcast networks currently featured on PocketCasts.
GET network_list_v2
Returns a list of popular podcasts currently featured on PocketCasts.
GET popular
Returns a list of trending podcasts currently featured on PocketCasts.
GET trending