DataONEorg / scythe

Scythe, the data citation harvester
Other
7 stars 2 forks source link

write function to query BMC for citations #8

Closed jeanetteclark closed 4 years ago

jeanetteclark commented 4 years ago

https://www.biomedcentral.com/getpublished/indexing-archiving-and-access-to-data

Can dig into fulltext::ft_search as a starting point

jeanetteclark commented 4 years ago

have a draft of this up, but it isn't tested yet since BMC needs an API key. The keyring implementation doesn't work in the tests since you need to unlock it via the console. Will open a separate issue for this

jeanetteclark commented 4 years ago

I think BMC is blocking my API key after 5000 queries, even though I have them throttled at 1/sec (recommended in their documentation). Not sure how to get around this one other than not running 5000+ queries all at once. After trying again a day later, it is working again so I think it just limits you to 5000 queries per day. I'll add that to the documentation and an error check in the function.

jeanetteclark commented 4 years ago

this function is more or less done, closing the issue