Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Item ¶
type Item struct { CategoryID int `json:"category_id"` Name string `json:"name"` MinPrice float64 `json:"min_price"` MetacriticScore int `json:"metacritic_score"` Platform int `json:"platform"` Genres []int `json:"genres"` Region int `json:"region"` RegionImageURL string `json:"region_image_url"` ContentType []int `json:"content_type"` OfficialPrice float64 `json:"official_price"` OfficialPricePlatform string `json:"official_price_platform"` MediaImagesUrls []string `json:"media_images_urls"` MediaVideosUrls []string `json:"media_videos_urls"` CategoryImageURL string `json:"category_image_url"` CategoryURL string `json:"category_url"` Properties []Property `json:"properties"` }
Item is one product on Kinguin.
func (*Item) PlatformName ¶
PlatformName returns with the string representation of the platform. In the response, it's an integer.
type SearchResponse ¶
type SearchResponse struct { TotalItemsCount int `json:"total_items_count"` Items []Item `json:"items"` }
SearchResponse is the response structure from a search request.
Click to show internal directories.
Click to hide internal directories.