Example #1
0
 /**
  * Creates an Article API interface
  *
  * @param string $url Url to analyze
  * @return Article
  */
 public function createArticleAPI($url)
 {
     $api = new Article($url);
     if (!$this->getHttpClient()) {
         $this->setHttpClient();
         $this->setEntityFactory();
     }
     return $api->registerDiffbot($this);
 }