This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = "https://zenodo.org/api/deposit/depositions/<your-deposit-id>" | |
headers = {"Content-Type": "application/json"} |