Documentation
¶
Index ¶
Constants ¶
View Source
const ( GLOBAL_ID_EBAY_US = "EBAY-US" GLOBAL_ID_EBAY_FR = "EBAY-FR" GLOBAL_ID_EBAY_DE = "EBAY-DE" GLOBAL_ID_EBAY_IT = "EBAY-IT" GLOBAL_ID_EBAY_ES = "EBAY-ES" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EBay ¶
type EBay struct {
ApplicationId string
HttpRequest *httprequest.HttpRequest
}
func (*EBay) FindItemsByKeywords ¶
type ErrorMessage ¶
type FindItemsByKeywordResponse ¶
type FindItemsByKeywordResponse struct {
XmlName xml.Name `xml:"findItemsByKeywordsResponse"`
Items []Item `xml:"searchResult>item"`
Timestamp string `xml:"timestamp"`
}
func (*FindItemsByKeywordResponse) Dump ¶
func (r *FindItemsByKeywordResponse) Dump()
type Item ¶
type Item struct {
ItemId string `xml:"itemId"`
Title string `xml:"title"`
Location string `xml:"location"`
CurrentPrice float64 `xml:"sellingStatus>currentPrice"`
ShippingPrice float64 `xml:"shippingInfo>shippingServiceCost"`
BinPrice float64 `xml:"listingInfo>buyItNowPrice"`
ShipsTo []string `xml:"shippingInfo>shipToLocations"`
ListingUrl string `xml:"viewItemURL"`
ImageUrl string `xml:"galleryURL"`
Site string `xml:"globalId"`
}
Click to show internal directories.
Click to hide internal directories.