scragg0x / huffpost-pollster-php
Simple Huffingtonpost Pollster API wrapper in php
dev-master
2013-06-19 18:17 UTC
Requires
- php: >=5.3.2
- guzzle/guzzle: 3.0.5
This package is not auto-updated.
Last update: 2024-12-16 15:07:59 UTC
README
Simple API wrapper in PHP
API reference
http://elections.huffingtonpost.com/pollster/api
Example
$client = new HuffPost\Pollster(); $json = $client->poll(array('topic' => 'obama-job-approval')); print_r($json);