Traveln Developer Docs¶
These docs cover how to integrate and operate Traveln as a tenant and as a developer:
- Web integration (the embeddable widget and integration patterns)
- Mobile integration
- API reference (examples + conventions)
What you can do here¶
Use the Widget Studio
Go to Web integration → Widget Studio to generate an embed snippet and preview the widget with your settings.
Conventions¶
- Code blocks are copyable and syntax highlighted.
- Terminal blocks use
bashorconsole. - Reusable snippets live under
docs/_snippets/.
Example: terminal + code tabs¶
python backend/manage.py test apps.businesses
curl -sS https://cdn.example.com/tenant-config/your-tenant-slug/ | jq .
fetch("https://cdn.example.com/tenant-config/your-tenant-slug/")
.then((r) => r.json())
.then(console.log)