Skip to content

gdronov/example-com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

composer require gdronov/example-com

Quickstart example

require 'vendor/autoload.php';

$apiClient = new Gdronov\ExampleCom\ApiClient('my-api-key-for-example-com');
$service = new Gdronov\ExampleCom\CommentHandler($apiClient);

// Get comments
$list = $service->getList($count, $offset);

// Add comment
$newCommentId = $service->add('Grigory', 'New comment');

// Edit comment
$service->edit($commentId, 'Alex', 'Edited comment');

About

Библиотека для сервиса комментариев "example.com"

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages