faruh / smmry
PHP client library to access Smmry's API
v1.0.0
2016-05-28 19:06 UTC
Requires
- php: >=5.5.0
Requires (Dev)
- phpunit/phpunit: 5.3.0
- symfony/var-dumper: v3.0.6
This package is not auto-updated.
Last update: 2025-02-15 20:51:20 UTC
README
By Faruh Narzullaev
Installing via Composer
The recommended way to install Smmry PHP Client is through Composer.
composer require faruh/smmry
Usage
<?php use Faruh\Smmry\SmmryClient; $client = new SmmryClient([ 'sm_api_key' => 'API_KEY', 'sm_length' => 7, 'sm_keyword_count' => 2 ]); $result = $client ->strategy('url') ->setResource('http://randomtextgenerator.com/') ->summarize();
Go to http://smmry.com/partner to obtain your key.
Documentation: http://smmry.com/api