Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ 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()
$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/
Documentation on all methods, as well as general API usage can be found at http://disqus.com/api/
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "drexarj/disqus-php",
"name": "disqus/disqus-php",
"license": "Apache-2.0",
"type": "project",
"description": "The official PHP client library for disqus, with added composer.json.",
"description": "The official PHP client library for Disqus.",
"autoload": {
"classmap": { "": "disqusapi/" }
},
Expand Down
Loading