Downloads files that were saved during a browser session. If a specific filename is provided, returns that single file. Otherwise, returns all files from the session as a zip archive.
Python
Download all files as zip
import requestsresponse = requests.get( "https://api.simplex.sh/download_session_files", headers={"x-api-key": f"b1b8db52facda0eec0ced60093fc5739aaaca816ceb4a2599227ff19f1dd6f1e2c58d19ba9b7ddfbf7a189d95a831047"}, params={"session_id": "session_123"})with open("session_files.zip", "wb") as f: f.write(response.content)
"<string>"
Simplex API Key
The ID of the session to download files from
Specific filename to download. If omitted, all files are returned as a zip
File download response
Single file download
Was this page helpful?