Skip to content

Instantly share code, notes, and snippets.

Pouyar69 /
Last active April 25, 2023 12:16 — forked from slint/
edited version of which has a progress bar. thanks to
import os
import requests
from tqdm import tqdm # pip install tqdm
from tqdm.utils import CallbackIOWrapper
params = {'access_token': '<your-access-token>'}
# Create the deposit resource
url = "<your-deposit-id>"
headers = {"Content-Type": "application/json"}