Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 596 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 596 Bytes

ListenNotesAPI

ListenNotesAPI lets you search podcasts easily. This is a Swift wrapper for accessing the ListenNotesAPI.

Example

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)
    }
}

Getting Started

Cocoapods

Set API Key

First you must set your ListenNotes API Key:

ListenNotesAPI.Config.set(apiKey: "YOUR_API_KEY")