Open abelsiqueira opened 2 years ago
@sckott said in https://github.com/citation-file-format/cff-initializer-javascript/issues/174#issuecomment-1219625096
I don't have time to write code/etc. but I can answer questions. I maintain python and ruby clients for the crossref api, if those are of any help
@sckott, that will be very helpful, although we don't have a timeline of when we will start working on this yet.
Discussed on the fediverse recently, this would be quite useful for me as well.
Obtaining the information from crossref is quite easy, however they have CORS in place so, will require either some agreement with CrossRef to use their API or a backend that does nothing but doi2cff (which I guess gets easier than ever these days with lambda &co)
fetch("https://doi.org/10.1371/journal.pcbi.1010752", headers={"Accept": "application/json"})
.then((response) => response.json())
.then((data) => console.log(data));
Would it be possible to collect all information about the preferred citation out of crossref API so that users only have to enter the doi and get all information automatically ?
Originally posted by @jcolomb in https://github.com/citation-file-format/cff-initializer-javascript/issues/174#issuecomment-983412228