diffbot-php-client
diffbot-php-client copied to clipboard
[Deprecated - Maintenance mode - use APIs directly please!] The official Diffbot client library
Hi! Is there any way to user Semantria-Powered Text Analysis Features with the official diffbot-php-client ? Any method to send semantriaKey and semantriaSecret ? Thank you!
``` require_once("../diffbot-php-client/vendor/autoload.php"); $diffbot = new Diffbot($token); $url = 'http://www.sitepoint.com/diffbot-crawling-visual-machine-learning/'; $articleApi = $diffbot->createArticleAPI($url); ```
Diffbot allows Custom HTTP Headers like X-Forward-Cookie. How can I set these using this system? My current code is just: $api = $diffbot->createProductAPI($_POST["siteURL"]);
When making a call to create or update a job, the client is not closing TCP connections after the request to the api endpoint. Running the following code demonstrates the...
I've created a Crawl API job which has a few hundred results. I'm trying to get the results using type:article (so $bot->search("type:article") with setNum to "all") and it's throwing an...
Searching across all collections has been deprecated - the `col` parameter is now obligatory with the Search API, and should be reflected as such in the code.
Implement the ability to set `norender` in order to speed up processing time. http://support.diffbot.com/automatic-apis/improving-api-performance-and-response-times/
Custom API can now be made programmatically, and includes some nifty features, like `eval`ing some custom JS at render time (useful for clicking ad links in interstitials etc). https://www.diffbot.com/dev/docs/custom/managing/ Should...
The Article API now has Tag Confidence (`tagConfidence`) as a param which lets if retrieve tags it's less confident about. Needs to be added.