Get Categories
Retrieve all event categories
Last updated
Was this helpful?
Was this helpful?
{
"status": 400,
"error": "Bad Request",
"message": "Invalid parameters"
}import requests
response = requests.get(
"https://event-service.outpoll.com/api/categories",
timeout=10,
)
response.raise_for_status()
for category in response.json():
print(f"{category['n']} ({category['s']})")