biocontext_kb.core.europepmc
============================

.. py:module:: biocontext_kb.core.europepmc

.. autoapi-nested-parse::

   Europe PMC API utilities.



Functions
---------

.. autoapisummary::

   biocontext_kb.core.europepmc.get_europepmc_articles
   biocontext_kb.core.europepmc.get_europepmc_fulltext


Package Contents
----------------

.. py:function:: get_europepmc_articles(query = None, title = None, abstract = None, author = None, search_type = 'or', sort_by = None, page_size = 25)

   Search Europe PMC articles by query, title, abstract, or author. Combine search terms with 'and'/'or' logic.

   :returns: Search results with resultList containing articles (title, authors, abstract, journal, PMC/DOI IDs) or error message.
   :rtype: dict


.. py:function:: get_europepmc_fulltext(pmc_id)

   Get full-text XML for a PMC ID. Returns the complete article XML for processing and analysis.

   :returns: Full-text XML content in format {'fulltext_xml': '...'} or error message.
   :rtype: dict


