hoppities/sermon-audio
Composer 安装命令:
composer require hoppities/sermon-audio
包简介
A wrapper for the SermonAudio Json API
README 文档
README
This is a simple wrapper for many of the methods available in the Sermon Audio API.
Installation
composer require hoppities\sermon-audio
After your composer dependencies finish, you will need to add the service provider to your app.php config file.
Hoppities\SermonAudio\SermonAudioServiceProvider::class,
In your application, call SermonAudio::Initialize() to set up your facade.
$apiKey = YOUR__KEY_HERE;
$sourceID = YOUR_SOURCE_ID_HERE;
SermonAudio::Initialize($apiKey, $sourceID);
Usage
use SermonAudio
Then, just call any of the methods in that file.
SermonAudio::getSermonsBySource();
Parameters should be sent as an associative array to any API call, so the above call will take an associative array and then build the parameters for your query.
License
MIT
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-22