APIAS (AI Powered API Documentation Scraper) is a powerful tool that helps you extract and convert API documentation from various sources into structured formats.
- 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)
pip install apias
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)
# 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
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.
For security issues, please see our Security Policy.
See CHANGELOG.md for a list of changes.
- Documentation: https://github.com/Emasoft/apias/docs
- Issues: https://github.com/Emasoft/apias/issues