update

swadhinbiswas committed 2 years ago
025d149
1 parent 9435891
commit 025d149
2 files changed
+14 -0
▼streamtape/__init__.py → pystreamtape/__init__.py
+0-0
0
0
▼streamtape/streamtape.py → pystreamtape/streamtape.py
+14-0
317
317
"""
318
318
url:str=f"{self.baseurl}file/getsplash?{self.login}&file={file_id}"
319
319
return self._request("GET",url)
320
+
321
+ def get_splash(self,file_id:str)->Dict[str,Any]:
322
+ """
323
+ Get splash
324
+ Args:
325
+ file_id:str->which file you want to get splash
326
+
327
+ Returns a dictionary of get splash
328
+
329
+ """
330
+ url:str=f"{self.baseurl}file/getsplash?{self.login}&file={file_id}"
331
+ return self._request("GET",url)
332
+
333
+
320
334