A lightweight, robust REST API for managing and voting pigeons
- Random Pigeon: Get a random pigeon ID for your feed.
- Voting System: Cast votes (increase/decrease aura points) for your favorite pigeon.
- Leaderboard: View top-rated pigeons with pagination support.
- Anti-Spam: Built-in duplicate vote protection (429 you already voted).
- Container Ready: Docker support included.
- SQLite Storage: Light-speed data persistence without setting up heavy database servers.
PigeonAPI is designed to be easily integrated into various platforms, including:
- Discord bots
- Telegram bots
- Other custom services that require a simple, fast REST API
- Clone this repo:
git clone https://github.com/wreakdev/pigeon-api
cd pigeon-api- Install dependencies:
pip install -r requirements.txt- Run the server:
uvicorn server:pigeon --reload- Access Documentation:
Navigate to
/docs
To run with Docker:
docker-compose up --build -dRun tests using pytest
pytest -vContributions are welcome! If you'd like to help improve pigeon-api, please read the CONTRIBUTING.md file to understand how to get started, report bugs, or submit your own pull requests.