Dictionaries
This section describes dictionary APIs that persists within Betting platform.
Sport Types
The following sport types are available:
| Sport Type | Description |
|---|---|
CLASSIC | Traditional sports (e.g., football, basketball, tennis) |
ESPORT | Esports competitions (e.g., Counter-Strike, Dota 2, League of Legends) |
PREDICTION | Prediction market events |
Image processing
Logo URLs returned by the dictionary APIs (for example, the logo field of teams and players) point to the original image stored on the CDN. The CDN is powered by imgproxy and can resize and re-encode images on the fly, so you can request exactly the dimensions and quality you need instead of downloading the full-size original.
To request a processed image, append an f query parameter to the logo URL. Its value is a list of processing options separated by /:
https://cdn.example.com/team/logo.webp?f=rs:fit:100:100/q:90
In the example above:
rs:fit:100:100— resize the image to fit within a100×100box while preserving its aspect ratio (the format isrs:<type>:<width>:<height>).q:90— set the output quality to90.
For the full list of available processing options, see the imgproxy processing documentation.