🌵
Drylab
  • BASICS
    • 🌵Welcome to Drylab
  • API
    • 🌵API Overview
    • 💻Endpoints
      • POST /methods/raw
      • POST /methods/sections
      • POST /results/raw
      • POST /results/thematic-blocks
      • POST /results/thematic-modules
      • POST /figure-legends
      • POST /supplement
      • POST /create-conda-env
      • POST /datasets
  • CLI
    • 🌵DryLab CLI
    • 🔧Config file
    • Commands
      • drylab init
      • drylab env
Powered by GitBook
On this page
  • Request
  • Response
  1. API
  2. Endpoints

POST /results/raw

Get the entire results section of a scientific paper, given a DOI or a PDF of a scientific paper.

Request

Content-Type: multipart/form-data

Accepted keys: doi and file

JSON Body (if using DOI):

{
  "doi": "10.1038/s41592-020-01005-z"
}

JSON Body (if uploading a PDF):

file: "path_to_file.pdf"

Note: If both a doi and a file key are present in the request, the API uses the file key by default.

Response

{
    "doi": "10.3390/ijms22031484",
    "paper_input_type": "file"
    "pdf_url": null, 
    "pdf_source_filename": "ijms-22-01484-v3.pdf",
    "pmcid": "PMC7867340",
    "results_raw": "... entire extracted methods section ..."
}

PreviousPOST /methods/sectionsNextPOST /results/thematic-blocks

Last updated 4 days ago

💻