ateliee/yahoo-api

yahoo API(serach)

0.9.1 2015-07-10 09:59 UTC

This package is not auto-updated.

Last update: 2024-04-13 15:50:16 UTC


README

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' => '****'));