mtougeron / klout-sdk-php
SDK for the Klout API v2
Installs: 1 586
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 2
Open Issues: 1
Requires
- php: >=5.3.10
- guzzle/guzzle: 3.7.*
- zendframework/zend-filter: 2.*
- zendframework/zend-uri: 2.*
- zendframework/zend-validator: 2.*
Requires (Dev)
- fabpot/php-cs-fixer: *
- phing/phing: 2.5.*
- phpunit/phpunit: 3.7.*
- symfony/class-loader: *
This package is not auto-updated.
Last update: 2020-09-13 19:24:43 UTC
README
A PHP library for the Klout API
=========
Installation
Use Composer to download and install this package as well as its dependencies.
To add this package as dependency for your project, add mtougeron/klout-sdk-php
to your project's composer.json
file.
{
"require": {
"mtougeron/klout-sdk-php": "1.0.*"
}
}
Usage
use Klout\Klout; $klout = new Klout('<your Klout API license key'); $user = $klout->getUserByTwitterUsername('mtougeron'); echo $user->getNickname() . '\'s Klout score is ' . round($user->getScore()->getScore()); // outputs: mtougeron's Klout score is 49
Other
Use of the Klout API is bound by Klout's developer Terms of Service