andydune / hypercomments
Hypercomments API.
v0.1.1
2017-10-19 11:50 UTC
Requires
- php: ^7.0 || ^7.1 || ^7.2
- andydune/pipeline: ^1
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ^5.7.15 || ^6.0.8
This package is auto-updated.
Last update: 2024-12-12 21:45:09 UTC
README
Hypercomments API
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.