GET
/api/v1/themes/
Auth required
List slot themes
Cursor-paginated directory of slot themes that have at least one public slot. Use ?theme=<slug> on GET /api/v1/slots/ to filter by theme. aliases are alternative spellings for matching a user's query to this slug (e.g. 'egypt' -> 'egyptian'). Filter by slug only — aliases are not a second filter key. If next is not null, the directory does not fit in one response — keep paging until next is null before treating the set as complete.
Parameters
| Name | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| cursor | query | string | optional | Opaque pagination cursor from a previous response's next/previous link. | |
| page_size | query | integer | optional | Number of results per page. Default 200, maximum 500. The default is large enough to return the whole directory in one response; if next is not null, keep paginating with cursor until it is. |
curl \
-H "Authorization: Token <YOUR_TOKEN>" \
"https://i-gaming.tools/api/v1/themes/"
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://i-gaming.tools/api/v1/themes/');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Token <YOUR_TOKEN>']);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
const response = await fetch("https://i-gaming.tools/api/v1/themes/", {
method: "GET",
headers: {
"Authorization": "Token <YOUR_TOKEN>"
}
});
const data = await response.json();
console.log(data);
import requests
headers = {
"Authorization": "Token <YOUR_TOKEN>"
}
response = requests.get("https://i-gaming.tools/api/v1/themes/", headers=headers)
print(response.json())
Response fields
slug
string
name
string
slots_count
integer
aliases
array[string]
aliases are alternative spellings for matching a user's query to this slug (e.g. 'egypt' -> 'egyptian'). Filter by slug only — aliases are not a second filter key.
Example response
{
"count": 113,
"next": null,
"previous": null,
"results": [
{
"slug": "egyptian",
"name": "Egyptian",
"slots_count": 41,
"aliases": [
"egypt",
"ancient egypt",
"pharaoh",
"pyramids",
"book of"
]
}
]
}