API
The Pybites Platform provides a read-only REST API for accessing exercise and tip data.
Base URL
https://pybitesplatform.com/api/
Endpoints
| Endpoint | Method | Description |
|---|---|---|
/api/bites/ |
GET | List all Bites |
/api/bites/{id}/ |
GET | Get a specific Bite |
/api/tips/ |
GET | List all Tips |
/api/tips/{id}/ |
GET | Get a specific Tip |
Response Format
All responses are JSON. Example Bite response:
{
"id": 1,
"title": "Sum of Numbers",
"slug": "sum-of-numbers",
"level": "Newbie",
"tags": ["basics", "math"],
"published": true
}
Authentication
The API is currently read-only and does not require authentication.
Note
The API is provided for informational purposes. Submitting solutions is only supported through the web interface.