ListenNotesAPI lets you search podcasts easily. This is a Swift wrapper for accessing the ListenNotesAPI.
ListenNotesAPI.searchPodcasts(with: "star wars") { result in
switch result {
case .success(let searchResults):
searchResults.podcasts.forEach { podcast in
print(podcast.title)
}
case .failure(let error):
print(error.message)
}
}
First you must set your ListenNotes API Key:
ListenNotesAPI.Config.set(apiKey: "YOUR_API_KEY")