We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d85a5d commit be3e1a2Copy full SHA for be3e1a2
examples/getFiles.php
@@ -0,0 +1,10 @@
1
+<?php
2
+include("sinusbot.class.php");
3
+$sinusbot = new SinusBot("127.0.0.1", 8087);
4
+$sinusbot->login("admin", "foobar");
5
+
6
+$files = $sinusbot->getFiles();
7
+for ($i = 0; $i < count($files); $i++) {
8
+ echo $files[$i]['uuid'].': '.$files[$i]['artist'].' - '.$files[$i]['title'].' ('.$files[$i]['album'].')<br>';
9
+}
10
+?>
0 commit comments