Künstler und Artisten mit Kategorien, Links, Downloads und Medien. Filtert nach Kategorie und Land.
Gibt Artisten zurück. Filtert nach Kategorie und Land. Enthält Links, Downloads und Medien-Zähler.
Code
$config = [];
$config["website"] = '1';
$config["status"] = '1';
$config["label"] = '';
$config["categorie"] = ''; // optional: Kategorie-ID
$config["country"] = ''; // optional: Ländercode
$config["search"] = '';
$config["orderby"] = 'headline';
$config["direction"] = 'asc';
$config["start"] = '0';
$config["limit"] = '10';
$artisten = getArtistList($config);
foreach ($artisten as $a) {
echo $a["headline"]; // Name
echo $a["content"]; // Beschreibung
echo $a["entertainment"]; // Genre/Kategorie
echo $a["country"]; // Land
echo $a["image"]["image"]; // Hauptbild
echo $a["image_items"]; // Anzahl Bilder
// Links:
foreach ($a["links"] as $link) {
echo '<a href="'.$link["url"].'">'.$link["button"].'</a>';
}
}
$config Parameter
| Key | Beschreibung | Werte |
|---|---|---|
| website | Website-ID | SITE_ID · 'all' |
| status | Statusfilter | '1' · '0' · leer |
| categorie | Kategorie-ID Filter | ID |
| country | Ländercode Filter | 'CH' · 'DE' · leer |
| label | Label-ID Filter | ID |
| search | Freitextsuche | Begriff |
| orderby | Sortierfeld | 'id' · 'headline' |
| direction | Richtung | 'asc' · 'desc' |
| start / limit | Pagination | Integer |
Rückgabe-Keys
| Key | Beschreibung |
|---|---|
| id / key / tags / headline / content / description | Basisdaten |
| entertainment | Genre / Kategorie-Text |
| country | Ländercode |
| categorie | Kategorie-ID |
| highlight | Highlight-Flag |
| status / update | Status und letztes Update |
| image_items / video_items / videofile_items / media_items | Anzahl Medien |
| image.image / .thumbnail / .small | Hauptbild (geprüft) |
| links[].url / .button / .target / .referenz | Verknüpfte Links |
| downloads[].file / .button / .typ | Downloads |
Ausgabe (Live)
[
{
"id": "17",
"key": "adfadsfasd17",
"tags": "",
"headline": "adfadsfasd",
"content": "fasdfadsf a<\/p>",
"description": "",
"entertainment": "",
"country": "CH",
"categorie": "6",
"label": [
""
],
"website": [
"1"
],
"status": "1",
"update": "2026-01-22 12:17:17",
"image_items": 1,
"video_items": 1,
"videofile_items": 1,
"media_items": 3,
"image": {
"id": "1440",
"image": "media\/artists\/artists\/image\/1440.webp",
"thumbnail": "media\/artists\/artists\/image\/thumbnail\/1440.webp",
"small": "media\/artists\/artists\/image\/small\/1440.webp",
"check": "false"
},
"video": {
"id": "1441",
"url": "https:\/\/www.youtube.com\/watch?v=3oFFWAj3_kU",
"embed": "