Base URLs¶
The VMLC API is available at different endpoints depending on your environment.
Production¶
Use this for production applications. This environment is stable and monitored 24/7.
Staging¶
Use this for testing and development. This environment may have experimental features.
Environment-Specific Considerations¶
Production¶
- ✅ High availability
- ✅ Regular backups
- ✅ Monitoring and alerts
- ✅ Rate limiting enforced
Staging¶
- 🧪 Testing environment
- 🧪 May have downtime
- 🧪 Data may be reset periodically
- 🧪 Relaxed rate limits
Best Practices¶
- Use environment variables for base URLs
- Never hardcode URLs in your application
- Test in staging before deploying to production
- Monitor your API usage in production
Example Configuration¶
```python import os
BASE_URL = os.getenv(
'VMLC_API_BASE_URL',
'https://api.verboheit.org/v1/'
)
```
javascript
const BASE_URL = process.env.VMLC_API_BASE_URL ||
'https://api.verboheit.org/v1/';