scragg0x/bing-api-php
Composer 安装命令:
composer require scragg0x/bing-api-php
包简介
Bing API wrapper in php
关键字:
README 文档
README
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);
统计信息
- 总下载量: 7.9k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-09-09