Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 550 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 550 Bytes

#PHP Bing Search API

Bing Search API Library for php

Build Status

Example

Here is an example of a oppai image search

<?php

require __DIR__.'/../vendor/autoload.php';
use Bing\Search\Factory;

$accountKey = "YOUR ACCOUNT KEY";
$factory = new Factory($accountKey);
$s = $factory->createImageSearch('oppai');

foreach ($s as $key => $resultObject) {
	foreach ($resultObject as $obj) {
		echo $obj, PHP_EOL;
	}
}