-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is that possible to add an another example for downloading file with curl? #3319
Comments
@wddabc well, you can't download files with Dataverse's implementation of SWORD and we don't plan to work on #183 any time soon. Instead, please use the Data Access API to download files: http://guides.dataverse.org/en/4.5/api/dataaccess.html You're right that we should document somewhere how to download a file based on a DOI but it's a two step process. First you get a list of file IDs via the "Datasets" endpoint of the "native" API: http://guides.dataverse.org/en/4.5/api/native-api.html#datasets . Then you use the Data Access API to operate on the file IDs. I've been thinking that maybe the API Guide should have a FAQ page or something! |
@wddabc are you still interested in having us add an example? |
@wddabc I just made pull request #6107 and explained in a new "getting started" page the two step process above. Here's how it looks: Does this help? Are you still interested in this issue? |
Hi Philip, |
@wddabc great! I'll go ahead close this issue, then. Thanks! |
http://guides.dataverse.org/en/latest/api/sword.html gives a fairly comprehensive usage of the curl command. I'm wondering if there could be another example for accessing a file given filename, doi using curl?
The text was updated successfully, but these errors were encountered: