Releases: ListenNotes/podcast-api-js
Add new endpoint searchEpisodeTitles.
New endpoint: searchEpisodeTitles
Conduct targeted searches for individual episodes by title and refine results using the podcast id such as Listen Notes Podcast ID, Apple Podcasts ID, Spotify ID, or RSS feed URL. This endpoint is specially designed to streamline the import of specific episodes from platforms like Apple Podcasts and Spotify into your application. Compared to the GET /search endpoint, which performs full-text searches across multiple fields, this endpoint focuses solely on episode titles for enhanced accuracy and performance.
Add new endpoint fetchPodcastsByDomain
v2.0.3 Add new endpoint fetchPodcastsByDomain
Fix bug on error handling for PodcastApiClientForWorkers
v2.0.2 Small fixes
Add Cloudflare Workers support
If you use our Podcast API with Node.js or browser javascript, then use the Client class.
const { Client } = require('podcast-api');
const client = Client({
apiKey: process.env.LISTEN_API_KEY || null,
});
If you use our Podcast API with Cloudflare Workers / Pages, then use the ClientForWorkers class.
Please make sure you store LISTEN_API_KEY as a secret. See example code: PodcastAppForWorkers
const { ClientForWorkers } = require('podcast-api');
const client = ClientForWorkers({
apiKey: env.LISTEN_API_KEY || null,
});
Add fetchAudienceForPodcast function.
v1.1.4 Add fetchAudienceForPodcast function.
Bug fix: passing other params to 'by id' endpoints.
v1.1.1 Update README.md
New endpoints: spellcheck, trending_searches, and related_searches.
v1.1.0 Update README.md
Fix form data passing for POST requests.
v1.0.9 Update README.md
Increase default request timeout
v1.0.8 Bump version number
Add more unit tests
v1.0.7 Add more unit tests.