andydune/hypercomments

v0.1.1 2017-10-19 11:50 UTC

This package is auto-updated.

Last update: 2024-12-12 21:45:09 UTC


README

Hypercomments API

Packagist Version Total Downloads

Usage

comments/list

use AndyDune\Hypercomments\Api;

$data = (Api($widget_id, $secret))
->comments()->list()
->setLink('<page url with comments')
->setOffset(<int>)
->setLimit(<int>)
->get();


$this->assertTrue(is_array($data));
$this->assertArrayHasKey('result', $data);
$this->assertArrayHasKey('data', $data);

Please, contact me if you need more from this library.