File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,13 @@ def get_invoices(self) -> List[dict]:
145145 return self .get (path = f"{ ApiPath .billing } /{ ApiPath .invoices } " )
146146
147147 def download (self , stream_link : str , name : str ) -> dict :
148+ """Download a file from a stream link.
149+
150+ :param stream_link: URL of the stream to download
151+ :param name: Name to save the downloaded file as
152+ :return: Download response data
153+ :rtype: dict
154+ """
148155 return self .post (
149156 path = f"{ ApiPath .download } " ,
150157 data = {
@@ -166,7 +173,7 @@ def upload(
166173
167174 :param file_path: Path to the file to upload
168175 :param url: URL of the file to upload
169- :param MediaType media_type:(optional):class:`MediaType < MediaType>` object
176+ :param MediaType media_type:(optional) MediaType object
170177 :param name:(optional) Name of the file
171178 :param description:(optional) Description of the file
172179 :param callback_url:(optional) URL to receive the callback
You can’t perform that action at this time.
0 commit comments