dataflow.api.run_game_api¶

Run the Haive Game API with the dynamically discovered game agents.

This script creates a FastAPI application that includes both the main API and the game routes for all discovered game agents. It runs the server on port 8005 with uvicorn.

Example usage:

python -m haive.dataflow.api.run_game_api

Functions¶

create_app()

Create FastAPI app with game routes.

main()

Run the API server.

Module Contents¶

dataflow.api.run_game_api.create_app()¶

Create FastAPI app with game routes.

dataflow.api.run_game_api.main()¶

Run the API server.