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