Files
AutoMarket/backend/flowwow_api/__init__.py

16 lines
484 B
Python

from .client import FlowwowClient
from .services.products import ProductsService
from .services.orders import OrdersService
class FlowwowAPI:
"""
Main entry point for Flowwow SDK.
Instantiates all services with a shared client.
"""
def __init__(self, api_token: str = None):
self.client = FlowwowClient(api_token)
# Initialize services
self.products = ProductsService(self.client)
self.orders = OrdersService(self.client)