Skip to content

citationStyles key for OpenAlex API #179

@Masao-Taketani

Description

@Masao-Taketani

@corochann @conglu1997
Thank you for supporting OpenAlex API for the alternative to Semantic Scholar API!
However, I have a question about that.

bibtexs = [papers[i]["citationStyles"]["bibtex"] for i in selected_papers]

The above line of code requires you to have citationStyles key, but each paper dictionary you obtain with OpenAlex API (here) does not seem to include citationStyles key, which will result in an error at the line I mentioned above. So, I've been wondering if this is a bug or I am missing something.

I'd really appreciate if you could answer the question.

Thank you very much in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions