public function WordStream::getAPICredits in WordStream Keyword Tools 7
File
- ./
class.wordstream.inc, line 100
Class
- WordStream
- A class to aid with accessing the Wordstream API
Code
public function getAPICredits() {
$response = $this
->callAPI('/authentication/get_api_credits', array(
'session_id' => $this->session,
));
if ($response->code != 'OK') {
return false;
}
else {
return $response->data;
}
}