- Create blueprints/api/routes_company.py with 9 routes: - /api/companies, /api/connections - /api/check-email, /api/verify-nip, /api/verify-krs - /api/company/<id>/refresh-krs, /api/company/<id>/enrich-ai - /api/model-info, /api/admin/test-sanitization - app.py: 5520 → 4756 lines (-764) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
557 B
Python
19 lines
557 B
Python
"""
|
|
API Blueprint
|
|
==============
|
|
|
|
Public API routes for analytics tracking and other frontend interactions.
|
|
"""
|
|
|
|
from flask import Blueprint
|
|
|
|
bp = Blueprint('api', __name__, url_prefix='/api')
|
|
|
|
from . import routes_analytics # noqa: E402, F401
|
|
from . import routes_recommendations # noqa: E402, F401
|
|
from . import routes_contacts # noqa: E402, F401
|
|
from . import routes_seo_audit # noqa: E402, F401
|
|
from . import routes_gbp_audit # noqa: E402, F401
|
|
from . import routes_social_audit # noqa: E402, F401
|
|
from . import routes_company # noqa: E402, F401
|