Deep Bot - Twitch Streamer Assistant
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Deep Bot - Twitch Streamer Assistant
»
Deep Bot
»
Guides, Tutorials & Demo Videos
»
DeepBot PHP API
« previous
next »
Print
Pages: [
1
]
Author
Topic: DeepBot PHP API (Read 4256 times)
0 Members and 1 Guest are viewing this topic.
SniffingPickles
Youngling
Posts: 2
Karma: +0/-0
Twitch Name: SniffingPickles
DeepBot PHP API
«
on:
October 16, 2015, 02:24:27 AM »
I built this for a client, thought it might be useful for you guys:
Original DeepBot API readme:
https://github.com/DeepBot-API/client-websocket
Functions below are assembled:
Download:
http://www.mediafire.com/download/tp9d5h5y925cbnt/DeepBot-PHP-API.zip.zip
public function
getUser
(
$username
)
{
return
$this
->
makeRequest
(
'api|get_user|'
.
$username
);
}
public function
getUsers
(
$offset
=
1
,
$limit
=
100
)
{
return
$this
->
makeRequest
(
'api|get_users|'
.
$offset
.
'|'
.
$limit
);
}
public function
getUserPoints
(
$username
)
{
return
$this
->
makeRequest
(
'api|get_points|'
.
$username
);
}
public function
setUserPoints
(
$username
,
$newValue
)
{
return
$this
->
makeRequest
(
'api|set_points|'
.
$username
.
'|'
.
$newValue
);
}
public function
addPoints
(
$username
,
$points
)
{
return
$this
->
makeRequest
(
'api|add_points|'
.
$username
.
'|'
.
$points
);
}
public function
setUserVip
(
$username
,
$level
,
$days
)
{
return
$this
->
makeRequest
(
'api|set_vip|'
.
$username
.
'|'
.
$level
.
'|'
.
$days
);
}
Logged
emrerocky
Advisor
Councilor
Posts: 1240
Karma: +163/-8
Twitch Name: emrerocky
Re: DeepBot PHP API
«
Reply #1 on:
October 16, 2015, 04:09:56 AM »
Hello, may I ask where you got DeepBot?
Logged
SniffingPickles
Youngling
Posts: 2
Karma: +0/-0
Twitch Name: SniffingPickles
Re: DeepBot PHP API
«
Reply #2 on:
October 16, 2015, 04:12:16 AM »
Sent you a PM
Logged
Print
Pages: [
1
]
« previous
next »
Deep Bot - Twitch Streamer Assistant
»
Deep Bot
»
Guides, Tutorials & Demo Videos
»
DeepBot PHP API