__construct()
__construct()
EnglishAuction
An Auction Library Timed auction starting at a low price and increasing until no more bids are made.
Also supports reserve price and automatic bidding.
Create(float $start, float $end, float $startingPrice, float $reservePrice, float $priceIncrement) : string
Create a new auction
float | $start | start time of auction |
float | $end | end time of auction |
float | $startingPrice | starting price of auction |
float | $reservePrice | reserve price for the auction (0 = none) |
float | $priceIncrement | price increments for bids in the auction |
auctionId
GetAuctionsEnding(float $endfrom, float $endto, float $page, float $perpage, string $sort, boolean $asc) : array
Get a list of auctions based on their end time
float | $endfrom | end from |
float | $endto | end to |
float | $page | |
float | $perpage | number of auctions per page |
string | $sort | field to sort by |
boolean | $asc | ascending (true) or descending (false) |
List of auctions ending in the specified period
GetAuctionsStarting(float $startfrom, float $startto, float $page, float $perpage, string $sort, boolean $asc) : array
Get a list of auctions based on their start time
float | $startfrom | start from |
float | $startto | start to |
float | $page | |
float | $perpage | number of auctions per page |
string | $sort | field to sort by |
boolean | $asc | ascending (true) or descending (false) |
List of auctions starting in the specified period
GetOpenAuctions(float $page, float $perpage, string $sort, boolean $asc) : array
Get a list of currently running auctions
float | $page | |
float | $perpage | number of auctions per page |
string | $sort | field to sort by |
boolean | $asc | ascending (true) or descending (false) |
List of open auctions