disguz:基于 Guzzle 的 PHP 非官方 Disqus API 客户端

时间:2021-07-06 09:16:45
【文件属性】:
文件名称:disguz:基于 Guzzle 的 PHP 非官方 Disqus API 客户端
文件大小:8KB
文件格式:ZIP
更新时间:2021-07-06 09:16:45
PHP 迪斯古兹 基于 PHP 库的非官方 Disqus API 客户端。 用法 通过调用工厂方法获取一个 Disguz 实例。 传入一系列配置设置: $ config = [ 'api_key' => getenv ( 'DISQUS_API_KEY' ), 'api_secret' => getenv ( 'DISQUS_API_SECRET' ), 'access_token' => getenv ( 'DISQUS_ACCESS_TOKEN' ), ]; $ client = Disguz :: factory ( $ config ); 然后调用支持的方法之一。 将方法参数作为数组传递: $ params = [ 'message' => 'This is another test post' , 'thread' => $ argv [ 1 ], ]; $ resu
【文件预览】:
disguz-master
----.gitignore(21B)
----src()
--------resources()
--------Disguz.php(2KB)
----LICENSE(1KB)
----composer.json(483B)
----examples()
--------postsCreate.php(491B)
--------threadsList.php(348B)
--------postsList.php(346B)
--------threadsRemove.php(450B)
--------postsCreateGuest.php(555B)
--------threadsCreate.php(471B)
--------postsReport.php(354B)
----README.md(2KB)

网友评论