getfokus/sentione-api

PHP SentiOne API for PHP 5.3+

dev-devel 2013-11-06 23:38 UTC

This package is not auto-updated.

Last update: 2025-04-08 04:15:53 UTC


README

This is a PHP 5.3+ API wrapper for the SentiOne API

##Requirements

##Installation

###Composer Add the following package to composer.json:

"getfokus/sentione-api": "*"

##Basic usage

To call API just use method:

$response = $sentione->apiCall($action, array $params);

You will receive the Response object

###Example

<?php

$username = 'USERNAME';
$password = '*****';

$sentione = new SentioneApi\Client($username, $password);
$response = $sentione->apiCall('sources sentiment', [
	'keyword' => 'sentione',
]);

$data = $response->getData();
var_dump($data);