biocontext_kb.core.biorxiv
==========================

.. py:module:: biocontext_kb.core.biorxiv

.. autoapi-nested-parse::

   bioRxiv and medRxiv preprint search tools.

   These tools provide access to bioRxiv and medRxiv preprint servers for searching
   and retrieving preprint metadata. bioRxiv focuses on biological sciences while
   medRxiv focuses on medical sciences.



Functions
---------

.. autoapisummary::

   biocontext_kb.core.biorxiv.get_biorxiv_preprint_details
   biocontext_kb.core.biorxiv.get_recent_biorxiv_preprints


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

.. py:function:: get_biorxiv_preprint_details(doi, server = 'biorxiv')

   Get detailed preprint metadata by DOI. Retrieves title, authors, abstract, date, version, category, license, and publication status.

   :returns: Preprint metadata including doi, title, authors, abstract, date, version, category, license, publication status or error message.
   :rtype: dict


.. py:function:: get_recent_biorxiv_preprints(server = 'biorxiv', start_date = None, end_date = None, days = None, recent_count = None, category = None, cursor = 0, max_results = 100)

   Search bioRxiv/medRxiv preprints by date range or recent count. Specify one search method: date range, days, or recent_count.

   :returns: Search results with server, search_params, total_returned, papers list (each with title, authors, abstract, metadata), pagination info or error message.
   :rtype: dict


