Skip to content

Aggregate API calls in cr_works with multiple DOIs? #249

@LukasWallrich

Description

@LukasWallrich

Currently, it seems that cr_works loops over DOIs - rather than requesting all/many DOIs at once ... unless I am missing something? If the API calls are combined, that leads to drastic speed-up and obviously less load on crossref servers.

ChatGPT generated code for me to do that directly (https://gist.github.com/LukasWallrich/9413261130a882a0d9995981fee50743) which is 50x faster on large sets of DOIs. Please let me know if you would appreciate a PR that allows to use cr_works with similar efficiency ... or if I am doing something wrong with rcrossref.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions