def set_icon_from_steam_api(self, img_url): """Sets the game icon from the Steam API URLs""" self.icon = ContentFile(steam.get_image(self.steamid, img_url), "%s.jpg" % self.steamid)
def get_steam_icon(self, img_url): self.icon = ContentFile(steam.get_image(self.steamid, img_url), "%d.jpg" % self.steamid)
def set_logo_from_steam_api(self, img_url): """Sets the game banner from the Steam API URLs""" self.title_logo = ContentFile(steam.get_image(self.steamid, img_url), "%s.jpg" % self.steamid)
def get_steam_logo(self, img_url): self.title_logo = ContentFile(steam.get_image(self.steamid, img_url), "%d.jpg" % self.steamid)
def set_icon_from_steam_api(self, img_url): """Sets the game icon from the Steam API URLs""" self.icon = ContentFile( steam.get_image(self.steamid, img_url), "%s.jpg" % self.steamid )
def set_logo_from_steam_api(self, img_url): """Sets the game banner from the Steam API URLs""" self.title_logo = ContentFile( steam.get_image(self.steamid, img_url), "%s.jpg" % self.steamid )