podcast_search 0.1.1
podcast_search: ^0.1.1 copied to clipboard
A simple library providing programmatic access to the iTunes search API for podcasts.
example/podcast_search_example.dart
/// Copyright (c) 2019, Ben Hills. Use of this source code is governed by a
/// MIT license that can be found in the LICENSE file.
import 'package:podcast_search/podcast_search.dart';
main() async {
var search = new Search();
SearchResult result = await search.search("widgets",
country: Country.UNITED_KINGDOM,
limit: 10);
result.items?.forEach((podcast) {
print("Found podcast ${podcast.trackName}");
});
}