2017 © Pedro Peláez
 

library bing-api-php

Bing API wrapper in php

image

scragg0x/bing-api-php

Bing API wrapper in php

  • Tuesday, November 10, 2015
  • by scragg0x
  • Repository
  • 2 Watchers
  • 6 Stars
  • 6,274 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 1 Versions
  • 11 % Grown

The README.md

bing-api-php

Very simple bing api wrapper in php., (*1)

Install

The recommended way is through composer. Just create a composer.json file and run the php composer.phar install command to install it:, (*2)

{
    "require": {
        "scragg0x/bing-api-php": "dev-master"
    }
}

API Reference

http://datamarket.azure.com/dataset/bing/search, (*3)

Example

<?php

require_once __DIR__ . "/vendor/autoload.php";

use Bing\Client;

// You need to obtain a key
$key = '';

$c = new Client($key, 'json');

$res = $c->get('News', array('Query' => 'Obama'));

$res = json_decode($res, true);

print_r($res);

The Versions

10/11 2015

dev-master

9999999-dev https://github.com/scragg0x/bing-api-php

Bing API wrapper in php

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

bing