Small Planet TeamSpeak API PHP integration

kalle

high minded
Contributor
Joined
Oct 28, 2015
Messages
411
Reaction score
253
Points
178
Hello, recently I created this script. Hope it will help someone.

For now there are three functions, but in future maybe there will be other functions and code queries.

Most useful of them are for server info like server status, clients, slots etc

GitHub
 

Norvik

Retired Staff
Contributor
Joined
Jul 18, 2015
Messages
635
Reaction score
588
Points
157
What about making it a class instead of just random functions?
 

kalle

high minded
Contributor
Joined
Oct 28, 2015
Messages
411
Reaction score
253
Points
178
What about making it a class instead of just random functions?
Maybe I will implement classes in future, but for now its get job done.
 

Norvik

Retired Staff
Contributor
Joined
Jul 18, 2015
Messages
635
Reaction score
588
Points
157
That would make its usage way easier since you wouldn't have to set the ip the whole time and it's just a few lines to change it to a class.

//Edit:
And it would be way less work to just change it now while you only have these few functions than changing it to a class when having a shitload of functions.
 
Last edited:

walross99

Some random Guy
Joined
Jul 29, 2016
Messages
42
Reaction score
14
Points
40
That would make its usage way easier since you wouldn't have to set the ip the whole time and it's just a few lines to change it to a class.

//Edit:
And it would be way less work to just change it now while you only have these few functions than changing it to a class when having a shitload of functions.
Just open a pull request on GitHub :D
 

kalle

high minded
Contributor
Joined
Oct 28, 2015
Messages
411
Reaction score
253
Points
178
Its sad but teamspeakplanet will close their service soon so its useless.:(
 
Top