目录
目录README.md

PodcastIndexKit

PodcastIndexKit is a Swift Package to easily integrate with the Podcasting 2.0 API at podcastindex.org

Usage

Adding the Swift-DocC Plugin as a Dependency

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.1.1"),
    ],
    targets: [
        // targets
    ]
)

Swift 5.8 is required in order to run the plugin.

Setup

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

Documentation

Click here to see all documentation.

Note

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.

关于
583.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号