Closed LLCampos closed 7 years ago
So that the external services clients support batch requests I was thinking about something along the lines of:
Input:
bash pubmed.sh [id1] [id2] [id3]
Output:
{
"id1": {
"title": "título1",
"abstract": "abstract1"
},
"id2": {
"title": "título2",
"abstract": "abstract2"
},
"id3": {
"title": "título3",
"abstract": "abstract3"
}
}
@AndreLamurias, what do you think?
agreed
Done this for the clients that are already implemented. Probably broke some of your code because the output of the clients changed.
Requests for documents to external services will probably be one of the biggest time bottlenecks that we will have, so we probably should probably do batch requests if that's possible.
[x] Pubmed
[x] PMC
[x] Patent Server