fabiobatalha / crossrefapi

A python library that implements the Crossref API.
BSD 2-Clause "Simplified" License
280 stars 44 forks source link

Wiki example: download PDF from DOI #19

Closed Metasoliton closed 3 years ago

Metasoliton commented 5 years ago

Hi there, great work!!!

I am a first-time user, trying to wrap my head around dowloading a PDF based on its DOI, something like works.doi.download('10.1590/0102-311x00133115', '~/Downloads/') that would result in the PDF landing in my Downloads folder.

I guess this is something very simple, however I could not find any example. Would you please provide one, perhaps even as a Wiki entry?

Many thanks & Merry Christmas, Stav

Ankush-Chander commented 3 years ago

Hi @Metasoliton, I hope it"s not too late to reply. This api is primarily for looking up data via crossref api. Download url is not necessarily provided by crossref api. However there are alternate solutions which can be found here.

Let us know if we can close this issue.

@fabiobatalha

fabiobatalha commented 3 years ago

Hello @Ankush-Chander

Yes, we can close this issue.