API integration
Getting started
1. Create an API key
Sign in and create an API key in your profile.
2. Make the first request
curl -H "X-API-Key: YOUR_KEY" \
https://api.my-playrooms.de/api/HostArea/Playrooms
3. Process the response
{
"data": [
{
"id": "pl_123",
"name": "Lustspielzimmer",
"city": "Berlin",
"price_per_night": 150
}
]
}
Rate limits
- 100 requests per minute
- 10,000 requests per day
Error handling
| Code | Description |
|---|---|
| 401 | Not authenticated |
| 403 | Not permitted |
| 404 | Not found |
| 429 | Rate limit exceeded |