podcast-index-api

Podcast Index API Javascript library

A Podcast Index API library for Node.js

pipeline status coverage report Install size npm Downloads

Homepage Source npm

Installation

Install with npm

npm install podcast-index-api --save

Configuration

Sign up for API credentials here: https://api.podcastindex.org/

Description of API endpoints, arguments and returned data: https://podcastindex-org.github.io/docs-api/

Require the lib from your javascript file

const api = require('podcast-index-api')("YOUR_API_KEY_HERE", "YOUR_API_SECRET_HERE", "CUSTOM_USER_AGENT_HERE")

Usage

Using Async/Await

const results = await api.searchByTerm('Joe Rogan Experience')

Using Promise

api.searchByTerm('Joe Rogan Experience').then(results => { console.log(results) })

Functions