تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

pmc-harvest

بواسطة angusthefuzz

DevOps & Cloud
510التنزيلات وفق ما يذكره clawskills.sh
2النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Fetch articles from PubMed Central using NCBI APIs.

الوصف

ما الذي تفعله هذه المهارة

Fetches full-text articles from PubMed Central using NCBI's E-utilities and OAI-PMH APIs. Supports journal search by query and year, individual article retrieval, and batch harvesting across multiple journals. Returns structured JATS XML with parsed title, abstract, and body fields.

Direct access to NCBI's official OAI-PMH endpoint returns structured JATS XML without requiring API keys or account registration, unlike scraping or third-party aggregators.

متى تستخدمها

  • Building a RAG dataset from stroke research journals
  • Screening abstracts across a year of neurology publications
  • Batch downloading open-access articles for an NLP training corpus
  • Retrieving full-text XML for a specific PMCID citation
  • Automating literature harvests for a biomedical review pipeline

مثال على سير العمل

الإدخال

User asks: Collect all 2025 open-access articles from Journal of Stroke for a RAG pipeline

الوكيل
  1. 1

    Runs search with --search "J Stroke[journal]" --year 2025 to retrieve matching PMCIDs

  2. 2

    Calls esummary.fcgi to fetch metadata for each article

  3. 3

    Requests full-text XML via OAI-PMH GetRecord for each PMCID

  4. 4

    Parses JATS XML to extract title, abstract, and body

  5. 5

    Returns structured article objects ready for ingestion

الإخراج

Array of structured articles with title, abstract, and body fields for all open-access 2025 Journal of Stroke publications

التثبيت

clawhub install angusthefuzz/pmc-harvest

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط