Skip to content

farranfox/smmry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smmry PHP Client Build Status

By Faruh Narzullaev

Smmry

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

About

PHP client library to access Smmry's API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages