PDF Info

👤 rishabhdugar 📦 v1.0.0 ⭐ 4.2 ⬇️ 617 下载
📄 办公效率 免费 🔑 需 API Key

📖 技能介绍


name: pdf-info description: "Get PDF metadata, encryption status, page count, and file size. Useful for pre-flight checks before processing."


PDF Info

What It Does

Inspects a PDF and returns metadata including encryption status, page count, file size, and document properties (title, author, subject, creator).

When to Use

  • Check if a PDF is encrypted before calling unlock
  • Pre-flight validation before PDF processing

    想要更强大的技能插件,就来小葱技能站7w4.net看看吧。

  • Get page count and file size information

Required Inputs

Provide one of: - url — URL to a PDF - base64_pdf — base64-encoded PDF - Multipart upload with file field

Authentication

Send your API key in the CLIENT-API-KEY header.

Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.

Use Cases

  • Pre-Flight Validation — Check page count and encryption status before processing
  • Upload Validation — Verify uploaded PDFs meet requirements (page limit, not encrypted)
  • Workflow Routing — Route encrypted PDFs to unlock step, unencrypted directly to processing
  • Metadata Display — Show document title, author, and page count in a document management UI
  • Quota Checks — Verify page count before merge/split to avoid exceeding limits

Example Usage

curl -X POST https://pdfapihub.com/api/v1/pdf/info \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://pdfapihub.com/sample.pdf" }'

🤖 AI 评测

这个 Skill 质量良好,能可靠地获取 PDF 的页数、文件大小、加密状态和文档属性。文档写得清晰易懂,使用场景说明详细,小白也能快速上手。支持多种方式提交 PDF,使用灵活。唯一不足是缺少错误处理的说明,遇到问题时可能会困惑。总体推荐使用。

📊 多维度评分

适应性4.3
规范性4.4
有效性4.3
可靠性3.7
可信度4.3

📁 包含文件 (4 个)

📄 SKILL.md 1.5 KB
📄 _meta.json 127 B
📄 example.json 538 B
📄 skill.json 704 B