Contributing¶
git clone https://github.com/ChipaDevTeam/FutureNewsAPI && cd FutureNewsAPI
python -m venv .venv && . .venv/bin/activate
pip install -e ".[dev,docs]"
pytest && ruff check . && mypy src
Adding an endpoint: write respx tests first, add a pure builder returning a Call in resources/_calls.py, then one thin method each in resources/sync.py and resources/asynchronous.py, and a docs page under docs/endpoints/ (add it to mkdocs.yml). Questions? Discord.
Supporting the project is free: sign up to Future News with our link.