humanized / php-scoopit-client
PHP API client for Scoop.it
dev-master
2018-01-07 16:36 UTC
Requires
- php: >=5.4
- guzzlehttp/guzzle: ^6.1
- guzzlehttp/oauth-subscriber: 0.3.*
This package is not auto-updated.
Last update: 2024-11-06 09:31:49 UTC
README
PHP API client for the Scoop.it API.
To use this software an API key is required which can be requested at : https://scoop.it.
Installation
The preferred way to install this extension is through composer.
Either run
$ php composer.phar require humanized/php-scoopit-client "dev-master"
or add
"humanized/php-scoopit-client": "dev-master"
to the require
section of your composer.json
file.
Getting Started
//Initialise the client with valid scoop.it account credentials
$config= [ 'base_uri'=>'your-scoopit-account',
'consumer_key'=>'your-consumer-key',
'consumer_secret'=>'your-consumer-secret',
'token'=>'your-token',
'token_secret'=>'your-consumer-key',
'consumer_key'=>'your-consumer-key',
];
$client=new ScoopitClient($config);
//And away we go!
$response = $client->test();
var_dump($response);