This README provides instructions on how to run the simulator_api.py script and access its deployed URL, Swagger documentation, and endpoints.
Ensure you have the following installed:
- Python 3.8 or higher
- Required dependencies (install via
requirements.txt)
Install dependencies:
pip install -r requirements.txt
-
Run the script:
python simulator_api.py -
The API will start, and you can access it at:
http://127.0.0.1:65433 -
For testing and API documentation, refer to:
http://127.0.0.1:65433/apidocs
You can access the API at the provided URL:
Websocket:
http://french.braidpool.net:65433/
To view the deployed Swagger UI for API documentation, navigate to:
http://french.braidpool.net:65433/apidocs
Refer to the Swagger UI for a detailed list of available endpoints and their usage.
Run pytest simulator_api_tests.py to run the test suite.
- Ensure the server is running before accessing the endpoints if running locally.