PodcastIndexKit is a Swift Package to easily integrate with the Podcasting 2.0 API at podcastindex.org
To use PodcastIndexKit with your package, first add it as a dependency:
let package = Package(
// name, platforms, products, etc.
dependencies: [
// other dependencies
.package(url: "https://github.com/SparrowTek/PodcastIndexKit", from: "0.4.1"),
],
targets: [
// targets
]
)
Swift 5.9 is required in order to run the plugin.
Before making any API requests you must setup the PodcastIndexKit
package using the setup
method.
PodcastIndexKit.setup(apiKey: "YOUR_API_KEY", apiSecret: "YOUR_API_SECRET", userAgent: "YOUR_APP_USER_AGENT")
Click here to see all documentation.
This package requires a PodcastIndex API key.
This package currently only supports API read endpoints. API write endpoints are not supported.
Not all endpoints have been tested yet. If you find any bugs please open a PR.