dataflow.api.run_games_api¶
Run the Haive Games API with dynamic game discovery.
This script runs a standalone API for game agents with dynamic discovery from the haive-games package. It creates WebSocket endpoints for each discovered game agent and provides HTML clients for testing.
- Usage:
python run_games_api.py
Functions¶
Create FastAPI app with game routes. |
|
|
Run the games API server. |
Module Contents¶
- dataflow.api.run_games_api.create_app()¶
Create FastAPI app with game routes.
- dataflow.api.run_games_api.main()¶
Run the games API server.