drexarj / disqus-php
The official PHP client library for disqus, with added composer.json.
Installs: 180 832
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 75
Type:project
pkg:composer/drexarj/disqus-php
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-10-21 11:45:37 UTC
README
Requires PHP 5.3.0 or newer!
Use the API by instantiating it, and then calling the method through dotted notation chaining:
require('disqusapi/disqusapi.php');
$disqus = new DisqusAPI($secret_key)
$disqus->trends->listThreads()
Parameters (including the ability to override version, api_secret, and format) are passed as keyword arguments to the resource call:
$disqus->posts->details(array('post'=>1, 'version'=>'3.0'));
Documentation on all methods, as well as general API usage can be found at http://disqus.com/api/