Skip to content

scragg0x/bing-api-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bing-api-php

Very simple bing api wrapper in php.

Install

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

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

API Reference

http://datamarket.azure.com/dataset/bing/search

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);

About

Simple Bing API wrapper in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages