Skip to content
Jordi Burguet-Castell edited this page Jan 9, 2018 · 1 revision

An API key can be passed to any of the functions as an argument (for example, equery(..., api_key='ABCD123')), or it can be initialized at the module level with:

import entrez
entrez.API_KEY = 'ABCD123'

and from that point on, all the queries will have the API key automatically incorporated.

Clone this wiki locally