<?php 
require '../src/Yahoo.php';
require '../../vendor/autoload.php';

$api = new \Yahoo\Api('dj00aiZpPVhpTHlyZ3RMRmdaNiZzPWNvbnN1bWVyc2VjcmV0Jng9M2E-','8M0aZjLN9s1sijFGBEtDTE0yMw7CpN5cqLBrp0io');

echo "<pre>";
/*print_r( $api->get_auction_list(
	23336, //Category ID
	0,		 //Page
	YAHOO_SORT_END_TIME,  //Sort default
	YAHOO_ORDER_ASC,  //Order default
	YAHOO_AUCTION_TYPE_ALL,  //Auction type all default
	1000.00, //min auction price
	50000.00 //max auction price
) );
 */

//print_r($api->get_auction_list());
print_r($api->get_auction('p642259348'));
//Get seller product list
/*print_r( $api->get_seller_auction_list(
	'hahang10583', //Seller ID
	0,		 //Page
	YAHOO_SORT_END_TIME,  //Sort default
	YAHOO_ORDER_ASC,  //Order default
	YAHOO_AUCTION_TYPE_ALL,  //Auction type all default
	1000.00, //min auction price
	50000.00 //max auction price
) );*/
