feat: implement backend API clients for multi-marketplace integration and frontend service layer

This commit is contained in:
2026-05-12 13:16:14 +03:00
parent 6974af486a
commit ee39a3d83b
65 changed files with 2501 additions and 33 deletions

View File

@@ -0,0 +1,15 @@
from .client import AvitoClient
from .services.items import ItemsService
from .services.messenger import MessengerService
class AvitoAPI:
"""
Main entry point for Avito SDK.
Instantiates all services with a shared client.
"""
def __init__(self, client_id: str = None, client_secret: str = None):
self.client = AvitoClient(client_id, client_secret)
# Initialize services
self.items = ItemsService(self.client)
self.messenger = MessengerService(self.client)