NAL-i5K / tripal_eutils

ncbi loader via the eutils interface
GNU General Public License v3.0
4 stars 3 forks source link

API Key Validation #217

Open Ferrisx4 opened 4 years ago

Ferrisx4 commented 4 years ago

If the module attempts to use an invalid API key, the import will fail.

It would also be nice to be able to validate the API key before attempting an import (either by querying NCBI directly or checking for allowed patterns). Unfortunately NCBI's API key documentation doesn't seem to list what form their API keys will always adhere to.

Ferrisx4 commented 4 years ago

Probably related to #218 to some degree.

At any rate, better validation of NCBI's response is needed (beyond erroneous API key issues).