Python API Overview
ArchiveBox can be used as a Python library to programmatically manage your web archive. This allows you to integrate archiving functionality directly into your Python applications.Installation
Basic Usage
Interactive Python Shell
The easiest way to explore the Python API is through the interactive shell:Importing ArchiveBox in Your Code
Common Usage Patterns
Querying Snapshots
Creating Snapshots
Working with Tags
Accessing Archive Results
Exporting Data
Configuration Access
Access ArchiveBox configuration programmatically:Hook System
Discover and run hooks programmatically:Next Steps
Models Reference
Learn about Snapshot, Crawl, Tag, and ArchiveResult models
Extractors API
Use extractors programmatically and create custom ones
Config API
Read and modify configuration programmatically
CLI Reference
ArchiveBox CLI commands documentation