nev Site Admin

Joined: 15 Sep 2004 Posts: 1159 Location: Sydney, Australia
|
Posted: Tue May 01, 2007 1:18 am Post subject: Format of pricehistory.txt and watchlist.txt |
|
|
Hi everyone,
In case you're interested, here is information regarding the format of the pricehistory.txt and watchlist.txt files.
One of our members, kogmedia, is writing some AuctionSieve helper tools and wanted to know the format, so I thought I'd share it with everyone.
Note that I reserve the right to change the format at any time in the future.
Price History and Watchlist file format
========================
The first line is the word VERSION followed by the version of AuctionSieve that was used when the file was last saved. Eg
VERSION1.8.7
All subsequent lines are items.
Each item is a list of fields separated by tabs.
The fields are as follows :
1. Item Id, eg 120059391025
2. Category Id, eg 59975 or blank
3. Auction Title, eg APPLE 630-2883/C 802.11b WIFI AIRPORT CARD iBook Cube
4. Price, eg GBP 26.00
5. Buy It Now Price, eg GBP 26.00
6. Number of Bids, eg 6, '-' is the same as 0
7. End Time, eg 1165754109000, standard unix time - ie milliseconds since Jan 1 1970. 0 means time is unknown
8. Has Picture? true or false
9. Is Default Picture? true or false
10. High Bidder, eg imthebest
11. Seller, eg somedodgyguy
12. Country, eg uk - these are actually my own codes but they follow pretty standard conventions - note that the code for the US is just blank and if AuctionSieve can't interpret your code, it will just default to US
13. Last Updated Time - ie the last time that AuctionSieve tried to retrieve the detailed item info, eg 1165754109000
14. Done Final Scrape? Ie have we retrieved the item details after the auction has ended? true or false
Nev |
|