Search packages, repositories and app categories

Package detailsv0.7.16

podcast_search

A library for searching for podcasts and parsing podcast RSS feeds. Supports iTunes and PodcastIndex directories, and newer features such as chapters and transcripts.

AndroidiOSmacOSWindowsLinux
30-day downloads
2.3K
Likes
36
Pub points
160

Install package

flutter pub add podcast_search

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter/Dart package for discovering podcasts and parsing RSS feeds from sources like iTunes and PodcastIndex. It supports modern podcast features such as chapters and transcripts, enabling rich audio content exploration. The library simplifies integration of podcast search and metadata retrieval into apps, making it ideal for audio-focused applications. It is compatible across multiple platforms including Android, iOS, macOS, Windows, and Linux.

Use cases

  • Building podcast discovery apps
  • Integrating podcast metadata into audio players
  • Parsing RSS feeds with chapters and transcripts
  • Creating personalized podcast recommendations
  • Supporting cross-platform podcast clients

Key features

  • Searches iTunes and PodcastIndex
  • Parses podcast RSS feeds
  • Supports chapters and transcripts
  • Cross-platform compatibility
  • Simple API for feed retrieval

Suitable for

  • Audio app developers
  • Podcast platform creators
  • Apps needing podcast metadata
  • Cross-platform audio projects
  • Developers using Flutter on multiple OS

Considerations

  • Requires internet access for feed fetching
  • Depends on external RSS feed quality
  • May need caching for offline use
  • Limited to supported directories
  • Transcript support depends on feed availability

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

A library for searching for podcasts, parsing podcast RSS feeds and obtaining episodes details. Supports searching via iTunes and PodcastIndex.

Usage

Search for podcasts with 'widgets' in the title and find the top podcasts. Both examples limit to 10 results and are set for the United Kingdom:

import 'package:podcast_search/podcast_search.dart';

// ignore_for_file: avoid_print
void main() async {
  var search = Search();

  /// Search for podcasts with 'widgets' in the title.
  var results =
  await search.search('widgets', country: Country.unitedKingdom, limit: 10);

  /// List the name of each podcast found.
  for (var result in results.items) {
    print('Found podcast: ${result.trackName}');
  }

  /// Parse the first podcast.
  final feed = results.items[0].feedUrl;

  /// It is possible to get back a podcast with a missing feed URL, so check that.
  if (feed != null) {
    var podcast = await Feed.loadFeed(url: feed);

    /// Display episode titles.
    for (var episode in podcast.episodes) {
      print('Episode title: ${episode.title}');
    }
  }

  /// Find the top 10 podcasts in the UK.
  var charts = await search.charts(limit: 10, country: Country.unitedKingdom);

  /// List the name of each podcast found.
  for (var result in charts.items) {
    print('Episode title: ${result.trackName}');
  }
}

Supported Namespace Tags

Podcasting 2.0
  • Block
  • Chapters
  • Funding
  • GUID
  • Locked
  • Person
  • Transcripts (VTT, SRT & JSON formats)
  • Value
  • Alternate Enclosure
iTunes
  • Author
  • Episode
  • Season

Categories

Dependencies

Dependency list 6 items

Source repository

Projects using this package