You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm afraid this package won't work for your use case. This package allows searching for specific IDs (PubMed, BioRxiv, DOI...) in different APIs (DOI, Crossref, ...) and outputs a JSON response.
@XavRsl Thanks for the clarification! I think I noted that yesterday after figuring out how the library works, but wanted to make sure I'm in the right direction. I was able to put this code together and realized it is intended to fetch a single article by his ID.
Besides from that, and looking at my use case, is that something you guys plan to add in the near future? I guess I'm looking something like what this wrapper does: https://github.com/tmpjr/pubmed
// Search By Term$api = newPubMed\Term();
$api->setReturnMax(100); // set max returned articles, defaults to 10$articles = $api->query('CFTR');
print_r($articles);
My only concern with using it is that it hasn't been maintained for a while now. Yours seems is being kept well maintained and with recent updates.
Hello,
I'm interested to use this package on one of my projects to fetch PubMed publications.
As an example use case, I'll need to retrieve publications with a given terms query, similarly how this page does: https://pubmed.ncbi.nlm.nih.gov/?term=((Winzeler+EA+OR+Winzeler+E)+AND+(Fidock+D+OR+Wirth+D+OR+Goldberg+D+OR+Llinas+M+OR+Lee+MCS+OR+Niles+J+OR+Baragana+B))
Would you be able to provide me a basic example on how I can get started to run a query like this ^ using the library?
Thanks and highly appreciated!
The text was updated successfully, but these errors were encountered: