Browse Source

api stuff

isundil 6 years ago
parent
commit
c551875c4c
1 changed files with 17 additions and 0 deletions
  1. 17 0
      api/index.php

+ 17 - 0
api/index.php

@@ -42,6 +42,23 @@ if (isset($_GET["command"])) {
                 )
             )
         ));
+
+    case "channels":
+        echo json_encode(array(
+            "generaux" => array(
+                "#accueil" => "#accueil",
+                "#15-20ans" => "#15-20ans",
+                "#20+" => "#20+",
+                "#40+" => "#40+"
+            ),
+            "jeux" => array(
+                "#quizz" => "#quizz"
+            ),
+            "techniques" => array(
+                "#aide" => "#aide",
+                "#dev" => "#dev"
+            )
+        ));
     }
 }