code: def get_gallery(self, section='hot', sort='viral', window='day',
                      show_viral=True, limit=None):
          url = (self._base_url + "/3/gallery/{}/{}/{}/{}?showViral="
                 "{}".format(section, sort, window, '{}', show_viral))
          resp = self._send_request(url, limit=limit)
          return [_get_album_or_image(thing, self) for thing in resp]