podcasthosting/auphonic-client

一个PHP库,通过其API访问音频服务Auphonic。

v0.9.3 2024-05-08 14:20 UTC

This package is auto-updated.

Last update: 2024-09-08 15:13:52 UTC


README

一个PHP库,通过其API访问音频服务Auphonic

使用方法

通过token进行身份验证

        $token = ''; // Your Auphonic API token
        $client = new \podcasthosting\Auphonic\Client();
        $client->setToken($token);

或者使用用户名/密码

        $username = ''; // Your Auphonic username
        $password = ''; // Your Auphonic password
        $client->allowUserPasswordAuthentification();
        $client->setUsername($username);
        $client->setPassword($password);

访问数据

        $client->setPreset(new \podcasthosting\Auphonic\Client\Preset());
        $presets = $client->preset()->getList();              

Podcast Hosting服务podcaster使用和创建。