Skip to content

ateliee/yahoo-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yahoo検索API

yahoo API(http://developer.yahoo.co.jp/)のPHPクラス版。
とりあえずオークションのみ作ってみました。

使い方

    "require": {
        "ateliee/yahoo-api": "dev-master"
    }
use YahooAPI\Auctions;
...

$auctions = new Auctions('appid','secret key');

$categorys = $auctions->request('categoryTree');
$leaf = $auctions->request('categoryLeaf',array('category' => '2084055844'));
$selling = $auctions->request('sellingList',array('sellerID' => '****'));
$search = $auctions->request('search',array('query' => '****'));
$item = $auctions->request('auctionItem',array('auctionID' => '****'));