scrape_and_seed
Scrapes API documentation pages and seeds endpoint data into a SQLite database with source labeling.
Instructions
Scrape API documentation and seed a finanal-style SQLite database directly.
The target database must have an 'endpoints' table with columns: path, method, operation_id, summary, description, tags, parameters, source
Args: url: URL of the API documentation page. db_path: Absolute path to the SQLite database file. source_name: Label for the 'source' column (e.g. 'fmp', 'tapetide'). site_type: Optional site type override for the extractor.
Returns: {seeded: int, skipped: int, source: str, db_path: str}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| db_path | Yes | ||
| site_type | No | ||
| source_name | Yes |