You are here

public function WordStream::getQuestionKeywords in WordStream Keyword Tools 7

File

./class.wordstream.inc, line 69

Class

WordStream
A class to aid with accessing the Wordstream API

Code

public function getQuestionKeywords($seeds, $maxResults = 100) {
  $response = $this
    ->callAPI('keywordtool/get_question_keywords', array(
    'seeds' => $seeds,
    'max_results' => $maxResults,
    'session_id' => $this->session,
  ));
  if ($response->code != 'OK') {
    return false;
  }
  else {
    return $response->data;
  }
}