AI powered API documentation scraper and converter
Project description
APIAS - AI Powered API Documentation Scraper
APIAS (AI Powered API Documentation Scraper) is a powerful tool that helps you extract and convert API documentation from various sources into structured formats.
Features
- Scrape API documentation from web pages
- Support for multiple documentation formats
- AI-powered content extraction and structuring
- Command-line interface for easy use
- Multiple output formats (Markdown, JSON, YAML)
- Batch processing mode with interactive TUI
Requirements
- Python 3.10 or higher (Python 3.9 is not supported)
- OpenAI API key (for AI-powered extraction)
Installation
Using uv (Recommended)
The fastest way to install APIAS is using uv:
# Install as a tool (recommended for CLI usage)
uv tool install apias --python=3.10
# Or install in a project
uv add apias
Using pip
pip install apias
Verify Python Version
python --version # Should be 3.10 or higher
Quick Start
from apias import apias
# Basic usage
doc = apias.scrape_url("https://api.example.com/docs")
print(doc.to_markdown())
# With custom configuration
config = {
"format": "markdown",
"output": "api_docs.md"
}
apias.scrape_and_save("https://api.example.com/docs", config)
Command Line Usage
# Scrape documentation from a URL
apias scrape https://api.example.com/docs
# Convert to specific format
apias convert input.html --format markdown --output api_docs.md
Contributing
We welcome contributions! Please see our Contributing Guide for details.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Security
For security issues, please see our Security Policy.
Changelog
See CHANGELOG.md for a list of changes.
Support
- Documentation: https://github.com/Emasoft/apias/docs
- Issues: https://github.com/Emasoft/apias/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apias-0.1.17.tar.gz.
File metadata
- Download URL: apias-0.1.17.tar.gz
- Upload date:
- Size: 226.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2929535f787c84b4a750cae0703a4aa8e821891e41b57f47e31504e8f33dfe31
|
|
| MD5 |
448d2789f2c4a8d4b4e182d490180b6f
|
|
| BLAKE2b-256 |
2b05093767376e510f4bafea0b3fbed256453b43e13afb952b89474b2f243e27
|
File details
Details for the file apias-0.1.17-py3-none-any.whl.
File metadata
- Download URL: apias-0.1.17-py3-none-any.whl
- Upload date:
- Size: 132.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb3d1afe402b9075c8e8ef832273b38399db9d081e2433f3b9fe0ca8afbb60ab
|
|
| MD5 |
b843c283f58e5ec0d3b3cdd29c32c39b
|
|
| BLAKE2b-256 |
c6e1033d8a7cca47415b2cf8ac61fe06198a703e42ba314bb34e030e56c08f11
|