Initial commit: Vultr API v2 Python wrapper with FastAPI server
- vultr_api/: Python library wrapping Vultr API v2 - 17 resource modules (instances, dns, firewall, vpc, etc.) - Pagination support, error handling - server/: FastAPI REST server - All API endpoints exposed via HTTP - X-API-Key header authentication - Swagger docs at /docs - Podman quadlet config for systemd deployment Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
38
server/routers/__init__.py
Normal file
38
server/routers/__init__.py
Normal file
@@ -0,0 +1,38 @@
|
||||
"""API Routers"""
|
||||
from . import (
|
||||
account,
|
||||
instances,
|
||||
dns,
|
||||
firewall,
|
||||
ssh_keys,
|
||||
startup_scripts,
|
||||
snapshots,
|
||||
block_storage,
|
||||
reserved_ips,
|
||||
vpc,
|
||||
load_balancers,
|
||||
bare_metal,
|
||||
backups,
|
||||
plans,
|
||||
regions,
|
||||
os_api,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"account",
|
||||
"instances",
|
||||
"dns",
|
||||
"firewall",
|
||||
"ssh_keys",
|
||||
"startup_scripts",
|
||||
"snapshots",
|
||||
"block_storage",
|
||||
"reserved_ips",
|
||||
"vpc",
|
||||
"load_balancers",
|
||||
"bare_metal",
|
||||
"backups",
|
||||
"plans",
|
||||
"regions",
|
||||
"os_api",
|
||||
]
|
||||
Reference in New Issue
Block a user