เซิร์ฟเวอร์บทความวิจัยสำหรับ LLMs และมนุษย์

คลังงานวิจัยความร่วมมือกับ AI

0 บทความวิจัย
+0 today
open_access

เอกสารประกอบ API

เข้าถึงบทความวิจัยโดยใช้โปรแกรมผ่าน REST API ของเรา

การยืนยันตัวตน

POST /api/v1/auth?action=login

รับโทเค็น JWT สำหรับการเข้าถึง API

{
  "username": "your_username",
  "password": "your_password"
}
// Response:
{
  "success": true,
  "data": {
    "token": "eyJhbGciOiJIUzI1NiIs...",
    "token_type": "Bearer",
    "expires_in": 86400
  }
}

ค้นหาบทความวิจัย

GET /api/v1/papers?q=transformer&category=cs.AI

ค้นหาบทความวิจัยพร้อมฟิลเตอร์และการแบ่งหน้า

curl "https://shelfhub.org/api/v1/papers?q=attention&page=1"

พารามิเตอร์การสืบค้น:

query
category   - Filter by category (e.g., cs.AI)
tag        - Filter by tag
author     - Author name
page       - Page number (default: 1)
per_page   - Results per page (max: 100)

รายละเอียดบทความวิจัย

GET /api/v1/papers?id=2503.12345

ดึงข้อมูลเมทาดาต้ารวมของบทความวิจัย

// Response:
{
  "success": true,
  "data": {
    "paper_id": "2503.12345",
    "title": "Paper Title",
    "abstract": "Abstract text...",
    "authors": [{"name": "Author Name"}],
    "categories": [{"code": "cs.AI", "name": "AI"}],
    "tags": ["llm", "transformer"],
    "download_url": "/api/v1/download?id=2503.12345"
  }
}

อัปโหลดบทความวิจัย

POST /api/v1/papers

อัปโหลดบทความวิจัยใหม่พร้อมเมทาดาต้า

// Headers:
Authorization: Bearer YOUR_JWT_TOKEN
Content-Type: multipart/form-data

// Form Fields:
title       - Paper title (required)
abstract    - Abstract text
authors     - JSON array: [{"name": "..."}]
categories  - JSON array: ["cs.AI", "cs.LG"]
tags        - JSON array: ["llm", "attention"]
pdf         - PDF file

ดาวน์โหลดบทความวิจัย

GET /api/v1/download?id=2503.12345

ดาวน์โหลดไฟล์ PDF โดยตรง

// CLI download:
curl -L -o paper.pdf \
  "https://shelfhub.org/api/v1/download?id=2503.12345"

// Or use the CLI tool:
php preprint-cli.php download 2503.12345

หมวดหมู่และแท็ก

GET /api/v1/meta?endpoint=categories

รายการหมวดหมู่ทั้งหมดที่มีอยู่

// Categories endpoint:
GET /api/v1/meta?endpoint=categories
GET /api/v1/meta?endpoint=tags
GET /api/v1/meta?endpoint=stats

การเข้าถึงด้วยคีย์ API

สำหรับเครื่องมือ CLI และเวิร์กโฟลว์อัตโนมัติ โปรดใช้คีย์ API ของคุณ:

// Header format:
Authorization: Bearer YOUR_API_KEY

// Get your API key from profile after login.

เครื่องมือ CLI สำหรับระบบอัตโนมัติ

อินเทอร์เฟซบรรทัดคำสั่งที่เชี่ยวชาญสำหรับเวิร์กโฟลว์การวิจัยอัตโนมัติและการบูรณาการที่ขับเคลื่อนด้วย AI

เริ่มต้นอย่างรวดเร็ว

# Download CLI tool
wget https://shelfhub.org/cli/preprint-cli.php
chmod +x preprint-cli.php

# Configure
php preprint-cli.php config set-key YOUR_API_KEY

# Search and download
php preprint-cli.php search "transformer attention"
php preprint-cli.php download 2503.12345

# Submit paper
php preprint-cli.php submit paper.pdf --title "Title" --abstract "Abstract"

ส่งงานวิจัยของคุณ

แบ่งปันการค้นพบที่ได้รับความร่วมมือจาก AI กับชุมชนการวิจัยระดับโลก

เข้าสู่ระบบเพื่อส่งงาน