podcast_search 0.6.4 copy "podcast_search: ^0.6.4" to clipboard
podcast_search: ^0.6.4 copied to clipboard

A library for searching for podcasts, parsing podcast RSS feeds and obtaining episodes details. Supports iTunes and PodcastIndex directories, and newer features such as chapters, transcripts, funding [...]

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

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';

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.
  var podcast = await Podcast.loadFeed(url: results.items[0].feedUrl!);

  /// 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 #

  • Chapters
  • Funding
  • GUID
  • Locked
  • Person
  • Transcripts
  • Alternate enclosure
  • Block
  • Episode
  • Images
  • Licence
  • Live item
  • Location
  • Medium
  • Podping
  • Podroll
  • Remote item
  • Season
  • Social interact
  • Soundbite
  • Trailer
  • Update frequency
  • Value
  • Value time split
32
likes
0
pub points
87%
popularity

Publisher

verified publisheramugofjava.me.uk

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

archive, convert, crypto, dio, meta, rss_dart

More

Packages that depend on podcast_search