Exemple #1
0
 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)
Exemple #2
0
 def get_steam_icon(self, img_url):
     self.icon = ContentFile(steam.get_image(self.steamid, img_url),
                             "%d.jpg" % self.steamid)
Exemple #3
0
 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)
Exemple #4
0
 def get_steam_logo(self, img_url):
     self.title_logo = ContentFile(steam.get_image(self.steamid, img_url),
                                   "%d.jpg" % self.steamid)
Exemple #5
0
 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
     )
Exemple #6
0
 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
     )
Exemple #7
0
 def get_steam_icon(self, img_url):
     self.icon = ContentFile(steam.get_image(self.steamid, img_url),
                             "%d.jpg" % self.steamid)
Exemple #8
0
 def get_steam_logo(self, img_url):
     self.title_logo = ContentFile(steam.get_image(self.steamid, img_url),
                                   "%d.jpg" % self.steamid)