Package DE_EPAGES::Ebay::API::Tools
little helper functions for ebay
@EXPORT_OK |
Functions
- CheckEbayAuctionsFeature
- ConvertFromEbayDate
- GetAuctionsSellerProfiles
- GetOldestStartTime
- GetRecentCategories
- GetStoreRuName
- SetNewEbayAuctionsFeatureValue
CheckEbayAuctionsFeature
Checks if the shop has enough feature values of EbayAuctions left
Syntax |
CheckEbayAuctionsFeature( $Shop ); |
Input |
|
Return |
|
ConvertFromEbayDate
Parses an eBay DateTime string and returns a DateTime object. Converts the time to the local server time zone.
Syntax |
ConvertFromEbayDate( $DateString ); |
Input |
|
Return |
|
GetAuctionsSellerProfiles
Creates a Hash of seller Profiles for a given auction list This is an optimization for if there are many auctions with the same sellerprofiles (should be mostly the case). We avoid to do an ebay call for every auction which improves the performance.
Syntax |
GetAuctionsSellerProfiles( $aAuctionList ); |
Input |
|
Return |
|
GetOldestStartTime
Gets the StartTime of the oldest still running or ended (not finished) auctions. The value will be in converted to UTC.
Syntax |
$oldestStartTime = GetOldestStartTime( $ShopEnvironment ); |
Input |
|
Return |
|
GetRecentCategories
Builds a list of the recently used categories. Limited to the last 10 categories.
Syntax |
GetRecentCategories( $Auction ); |
Input |
|
Return |
|
GetStoreRuName
Gets a global unique name for this store to identify at eBay.
Syntax |
GetStoreRuName( $StoreUrl ); |
Input |
|
Return |
|
SetNewEbayAuctionsFeatureValue
Sets EbayAuctions feature value for a shop.
Syntax |
SetNewEbayAuctionsFeatureValue( $Shop, $newValue ); |
Input |
|