6,769 the 21/09/21
import Bio
from Bio import Entrez
Entrez.mail="Fdumont.up@gmail.com"
req_esearch=Entrez.esearch(db="pubmed",term="neurotoxicology")
res_esearch=Entrez.read(req_esearch)
res_esearch.keys()
res_esearch["IdList"]
len(res_esearch["IdList"])
res_esearch ["Count"]
/root/venv/lib/python3.7/site-packages/Bio/Entrez/__init__.py:670: UserWarning:
Email address is not specified.
To make use of NCBI's E-utilities, NCBI requires you to specify your
email address with each request. As an example, if your email address
is A.N.Other@example.com, you can specify it as follows:
from Bio import Entrez
Entrez.email = 'A.N.Other@example.com'
In case of excessive usage of the E-utilities, NCBI will attempt to contact
a user at the email address provided before blocking access to the
E-utilities.
UserWarning,
-> Result of res_esearch["IdList"]
['34543681', '34534776', '34509578', '34509511', '34508789', '34494552', '34483001', '34481871', '34481870', '34478773', '34478772', '34478771', '34478770', '34478769', '34478768', '34458526', '34445210', '34444035', '34428482', '34428358']
-> Result of len(res_esearch["IdList"]) : 20
-> Result res_esearch ["Count"] : '6761'
req_esummary=Entrez.esummary(db="pubmed", id="31536738")
req_esummary=Entrez.read(req_esummary)
req_esummary[0]["Title"]
req_esummary[0]["DOI"]
req_esummary[0]["PubDate"]
req_esummary[0]["Source"]
-> Result of req_esummary[0]["Title"] : 'Monoamine oxidase inhibitory activity of flavoured e-cigarette liquids.'
-> Result of req_esummary[0]["DOI"] : '10.1016/j.neuro.2019.09.010'
-> Result of req_esummary[0]["PubDate"] : '2019 Dec'
-> Result of req_esummary[0]["Source"] : 'Neurotoxicology'