gdcc / easyDataverse

🪐 - Lightweight Dataverse interface in Python to upload, download and update datasets found in Dataverse installations.
MIT License
16 stars 5 forks source link

DATAVERSE_API_TOKEN vs API_TOKEN #6

Closed atrisovic closed 1 year ago

atrisovic commented 1 year ago

Maybe this error No 'API_TOKEN' found in the environment. should refer to DATAVERSE_API_TOKEN instead of API_TOKEN as that is what the user sets/exports.

https://github.com/gdcc/easyDataverse/blob/81d8d45bdd41949e01d5b422803e9aed80b697c7/easyDataverse/core/dataset.py#L470

JR-1991 commented 1 year ago

Thanks @atrisovic! Updated the error message.