Project DescriptionSimple PHP library for bing.com API
// Include the Bing API PHP Library
require_once 'library/BingAPI.php';
// Simply start the class with your AppID argumented
$search = new BingAPI('YOUR APPID KEY');
/* To use multiple resources simply do
->setSources('Web+Image') ,
it must match the source type bing.com provides */
// Build your query easily
$search->query('gimp')
->setSources('Web')
->setFormat('xml')
# Also you can try: xml, soap or json
->setOptions(
array(
'Web.Count' => '10',
'Web.Offset' => '0',
'Adult' => 'Moderate',
'Options' => 'EnableHighlighting')
);
# Check the API documentation in bing.com for more information
# This will give you a raw output
echo $search->getResults();
Site feedCannot resolve syndicated feed macro, invalid parameter 'titlesOnly'.