Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppDetails ¶
type AppDetails struct { SteamAppid int64 `json:"steam_appid"` Type string `json:"type"` Name string `json:"name"` Description string `json:"short_description"` Fullgame struct { AppID string `json:"appid"` Name string `json:"name"` } `json:"fullgame"` Developers []string `json:"developers"` Publishers []string `json:"publishers"` IsFree bool `json:"is_free"` SupportedLanguagesRaw string `json:"supported_languages"` SupportedLanguages map[string][]string ReleaseDate struct { ComingSoon bool `json:"coming_soon"` Date string `json:"date"` } `json:"release_date"` Platforms struct { Windows bool `json:"windows"` Mac bool `json:"mac"` Linux bool `json:"linux"` } `json:"platforms"` Genres []Genre `json:"genres"` PriceOverview struct { Currency string `json:"currency"` Initial float64 `json:"initial"` Final float64 `json:"final"` DiscountPercent int64 `json:"discount_percent"` InitialFormatted string `json:"initial_formatted"` FinalFormatted string `json:"final_formatted"` } `json:"price_overview"` }
AppDetails representa los detalles de una aplicación en la tienda Steam.
type AppDetailsResponse ¶
type AppDetailsResponse struct { Success bool `json:"success"` Data AppDetails `json:"data"` }
AppDetailsResponse es la estructura de respuesta para los detalles de la aplicación.
type PaginatedResponse ¶
type PaginatedResponse struct { Metadata map[string]interface{} `json:"metadata"` Games []entity.GameDetails `json:"games"` }
type Review ¶
type Review struct { RecommendationID string `json:"recommendationid"` Author ReviewAuthor `json:"author"` Language string `json:"language"` ReviewText string `json:"review"` TimestampCreated int `json:"timestamp_created"` TimestampUpdated int `json:"timestamp_updated"` VotedUp bool `json:"voted_up"` VotesUp int `json:"votes_up"` VotesFunny int `json:"votes_funny"` CommentCount int `json:"comment_count"` SteamPurchase bool `json:"steam_purchase"` ReceivedForFree bool `json:"received_for_free"` WrittenDuringEarlyAccess bool `json:"written_during_early_access"` }
type ReviewAuthor ¶
type ReviewAuthor struct { SteamID string `json:"steamid"` NumGamesOwned int `json:"num_games_owned"` NumReviews int `json:"num_reviews"` PlaytimeForever int `json:"playtime_forever"` PlaytimeLastTwoWeeks int `json:"playtime_last_two_weeks"` PlaytimeAtReview int `json:"playtime_at_review"` LastPlayed int `json:"last_played"` }
type ReviewResponse ¶
type ReviewResponse struct { ReviewSummary ReviewSummary `json:"query_summary"` Success int `json:"success"` Reviews []Review `json:"reviews"` }
type ReviewSummary ¶
type ReviewSummary struct {
NumReviews int `json:"num_reviews"`
}
type ReviewsResponse ¶
Click to show internal directories.
Click to hide internal directories.