Skip to content

Add api-key - #10

Open
1pix wants to merge 6 commits into
tmpjr:masterfrom
1pix:master
Open

Add api-key#10
1pix wants to merge 6 commits into
tmpjr:masterfrom
1pix:master

Conversation

@1pix

@1pix 1pix commented Oct 14, 2020

Copy link
Copy Markdown

Hey there,
Thanks for the great work on pubmed api, very usefull !
I'm not a experimented coder but I needed to add api-key and catch error if pubmed response is not xml compliant.
Working for me, but maybe it'll be cool if you can review and mybe add that fonctionnality.
Cheers,
Sylvain

@1pix

1pix commented Oct 14, 2020

Copy link
Copy Markdown
Author

About the

catch error if pubmed response is not xml compliant..

Also for exemple if NCBI server is not responding, overcharged, etc, the timeout return an error and new SimpleXMLElement() die..
Not sure if it's the right way to do that but seems to work..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants