File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11""" About information for videodb sdk"""
22
33
4- __version__ = "0.2.4 "
4+ __version__ = "0.2.5 "
55__title__ = "videodb"
66__author__ = "videodb"
77__email__ = "contact@videodb.io"
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ class ApiPath:
6767 frame = "frame"
6868 describe = "describe"
6969 storage = "storage"
70+ download = "download"
7071
7172
7273class Status :
Original file line number Diff line number Diff line change @@ -90,6 +90,15 @@ def check_usage(self) -> dict:
9090 def get_invoices (self ) -> List [dict ]:
9191 return self .get (path = f"{ ApiPath .billing } /{ ApiPath .invoices } " )
9292
93+ def download (self , stream_link : str , name : str ) -> dict :
94+ return self .post (
95+ path = f"{ ApiPath .download } " ,
96+ data = {
97+ "stream_link" : stream_link ,
98+ "name" : name ,
99+ },
100+ )
101+
93102 def upload (
94103 self ,
95104 file_path : str = None ,
You can’t perform that action at this time.
0 commit comments