---
title: "Integration Examples Snippet"
canonical_url: "https://apidocs.sportradar.com/resources/widgets/docs/tutorials/integration-examples-snippet"
markdown_url: "https://apidocs.sportradar.com/resources/widgets/docs/tutorials/integration-examples-snippet.md"
last_updated: "2026-02-23T06:16:35Z"
---

# Integration Examples Snippet

### JavaScript (Programmatic)

Initialize the widget programmatically using the JavaScript API. The widget renders in the specified container element.

### HTML (Declarative)

Insert the following HTML code at the target widget location. Complex object properties must be passed as JSON-encoded strings.
