Introduction
This is a lidl api that lets you get some data from 0weebs :)
Authentication
No authentication is requierd for now :)
0weebs API
Get Commands
curl "https://zeroapi.chat.vote/commands"
The above command returns JSON structured like this:
[
{
"_id": "join",
"aliases": [],
"enabled": 1,
"desc": "Adds the bot to your channel. only works in the <a href=\"https://twitch.tv/0weebs\">bot's chat.</a>",
"cd": 10,
"lvl": 1,
"whisperable": 0,
"cat": 1
},
{
"_id": "leave",
"aliases": [],
"enabled": 1,
"desc": "Removes the bot from your channel.",
"cd": 10,
"lvl": 2,
"whisperable": 0,
"cat": 1
},
{
"_id": "bot",
"aliases": [
"about",
"help",
"commands",
"owner",
"contact",
"0weebs"
],
"enabled": 1,
"desc": "Shows some info about the bot. Different aliases have different responses.",
"cd": 10,
"lvl": 1,
"whisperable": 1,
"cat": 1
},
]
Showing first 3 results only.
This endpoint retrieves a detailed list of all commands.
HTTP Request
GET https://zeroapi.chat.vote/commands
Get Channels
curl "https://zeroapi.chat.vote/channels"
The above command returns JSON structured like this:
[
"0kayga",
"0weebs",
"alex1sssssssssssssssss",
"anelexd420",
"badoge",
"behindpro",
"jeffboys123",
"jeo315",
"kawanpls",
"m0nteeeeeeeee",
"nam______________________",
"nord_011",
"olajvr",
"pieladder_",
"pilzkman",
"psevdxnym",
"senderak",
"teischente",
"tekate___",
"victorbaya",
"wtfdissht3",
"xoosd"
]
Get a list of all channels that 0weebs is connected to.
HTTP Request
GET https://zeroapi.chat.vote/channels
Get emotes list
curl "https://zeroapi.chat.vote/list"
The above command returns JSON structured like this:
{
"list": [
"2020Rivalry",
"AYAYA",
"HungryPaimon",
"Ir0n",
"KonCha",
"Lewd",
"LuvBlondeR",
"PinkMercy",
"PunOko",
"Silver",
"TPFufun",
"TPcrunchyroll",
"TearGlove",
"TehePelo",
...
]
}
curl "https://zeroapi.chat.vote/list?channel=badoge"
The above command returns JSON structured like this:
{
"list": [
"forsen",
"xqc",
"TriHard"
],
"channel": "badoge"
}
Get a list of all emotes/prefixes that the bot looks for by default in all channels. You can also lookup the custom banphrases in a specific channel by adding the "channel" parameter to your request.
HTTP Request
GET https://zeroapi.chat.vote/list
URL Parameters
Parameter | Description |
---|---|
channel | (optional) The channel that you want to lookup. |
Ban check
curl "https://zeroapi.chat.vote/bancheck?message=VoHiYo%20any%20weebs"
The above command returns JSON structured like this:
{
"message": "VoHiYo any weebs",
"banned": true
}
curl "https://zeroapi.chat.vote/bancheck?message=weebs%20out%20NaM"
The above command returns JSON structured like this:
{
"message": "weebs out NaM",
"banned": false
}
curl "https://zeroapi.chat.vote/bancheck?message=any%20bajs%20forsenE&channel=badoge"
The above command returns JSON structured like this:
{
"message": "any bajs forsenE",
"banned": true,
"channel": "badoge"
}
Checks if a message is safe, you can specify a channel to include custom banphrases.
HTTP Request
GET https://zeroapi.chat.vote/bancheck
URL Parameters
Parameter | Description |
---|---|
message | The message that you want to check. URL-encoded |
channel | (optional) The channel that you want to check the message in. |
Get Settings
curl "https://zeroapi.chat.vote/settings?channel=badoge"
The above command returns JSON structured like this:
{
"channel": "badoge",
"settings": {
"_id": 59616430,
"username": "badoge",
"lastuse": "2021-07-29T10:13:16.441Z",
"weebs": 0,
"uses": 3,
"cd": 5,
"length": 1,
"reason": "weebs DansGame",
"extra": [
"TriHard",
"forsen",
"xqc"
]
}
}
Retrieve a channel's 0weebs settings.
HTTP Request
GET https://zeroapi.chat.vote/settings?channel=<channel>
URL Parameters
Parameter | Description |
---|---|
channel | The Twitch channel that you want to lookup. |