ZF-2362: API base URI has changed
Description
http://api.search.yahoo.com should be changed to http://search.yahooapis.com/ .
Additionally, I would suggest to move all the following pieces of code into a common method and store base URI in a PHP constant. The code will be more readable and easy to update.
$this->_rest->getHttpClient()->resetParameters();
$this->_rest->setUri('http://search.yahooapis.com');
$response = $this->_rest->restGet('/SiteExplorerService/V1/inlinkData', $options);
Comments
Posted by Kevin Golding (caomhin) on 2008-01-03T11:40:39.000+0000
The API domain isn't actually constant despite it not changing much at all. i.e. Local search is an exception.
I'll check my local copy (with the new domains) doesn't break anything and if no-one objects I'll make the change.
Posted by Kevin Golding (caomhin) on 2008-01-03T14:55:32.000+0000
Fixed in r7338