aescarcha/udemy-api-client

此包最新版本(0.1.0)没有可用的许可证信息。

与 Udemy 2.0 API 交互的客户端

0.1.0 2016-03-11 17:08 UTC

This package is auto-updated.

Last update: 2024-09-19 09:55:16 UTC


README

这是一个用于处理与 Udemy 2.0 API 连接的 PHP Udemy API 客户端,目前它只解析课程详情请求,未来可能会扩展,也可能不会。欢迎贡献。

安装

添加到 composer require

{
    "require": {
        "aescarcha/udemy-api-client": "dev-master"
    }
}

运行 composer update

用法

$api = new Api('clientId', 'clientSecret');
$course = $api->getUrl( 'http://www.udemy.com/api-2.0/courses/1');