Python standalone asyncIO API that provides different endpoints to get weather data from winds.mobi mongodb.
Deployed API versions:
- winds.mobi/api/2/ -> rewrite to latest version of 2.x
- winds.mobi/api/2.3/
- winds.mobi/api/2.2/ -> deprecated, permanent redirect to 2.3
OpenAPI documentation:
- /doc
- /redoc
Create an .env
file from .env.template
read by docker compose:
cp .env.template .env
Then start the api:
docker compose up --build
- OpenAPI client: http://localhost:8001/doc
- Python 3.11
- Poetry
Create an .env.localhost
file from .env.localhost.template
read by dotenv
for our local commands:
cp .env.localhost.template .env.localhost
poetry install
poetry shell
dotenv -f .env.localhost run uvicorn --proxy-headers --root-path "${ROOT_PATH}" --port 8001 winds_mobi_api.main:app
- OpenAPI client: http://localhost:8001/doc
winds.mobi is licensed under the AGPL License, Version 3.0. See LICENSE.txt