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

outdated

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

example/podcast_search_example.dart

import 'package:podcast_search/podcast_search.dart';

void main() async {
  var search = Search();

  /// Search for the "It's a Widget" podcast.
  var results = await search.search('widgets', country: Country.UNITED_KINGDOM, limit: 10);

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

  /// Parse the first podcast.
  var podcast = await Podcast.loadFeed(url: results.items[0].feedUrl!);

  /// Display episode titles.
  podcast.episodes?.forEach((episode) {
    print('Episode title: ${episode.title}');
  });

  /// Find the top 10 comedy podcasts in the UK.
  var charts = await search.charts(genre: Genre.COMEDY, limit: 10, country: Country.UNITED_KINGDOM);

  /// List the name of each podcast found.
  charts.items.forEach((result) {
    print('Found podcast: ${result.trackName}');
  });
}
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 searching via iTunes and PodcastIndex (preview).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

archive, convert, crypto, dart_rss, dio, meta

More

Packages that depend on podcast_search