Deprecated: Use of "parent" in callables is deprecated in /var/www/html/forum/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php on line 431
  • If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN [Php / Script ?]

Status
Not open for further replies.

arlextra

Member
Hello, me again :p

I would want via php (via a web page) to be able to make exactly what makes the command "!stream [ url ]" on teamspeak.
For example, I have a web page with an html input and I want via the server php execute the command "!stream [html input]" .

I tested: PHP-Class by mave1993 and PHP API by Raphraph
But there is no function for the stream :/

So is there a url like: http://localhost:8087/api/v1/bot/i/[idbot]/stream/http://[/I][/B] ? Thank you http://[/I][/B] ? Thank you ?

Thank you :)[/I][/B]
 

flyth

is reticulating splines
Staff member
Developer
Contributor
POST /api/v1/bot/i/:instanceId/playUrl?url=:url&title=:title

:url needs to be urlencoded.
 
Status
Not open for further replies.
Top