Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

❌ Web page to check if a user is active on some Twitch TV channel chat. LICENSE: https://micalevisk.mit-license.org

License

Notifications You must be signed in to change notification settings

micalevisk/twitch-chat-checker-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeship Status Heroku Status Dependency Status

Twitch Chat Checker (web version)

"Free app running time quota exhausted" demo: https://twitch-chat-checker.herokuapp.com/

page preview

Emulate the behavior

Using cURL and jq on bash, just run this:

channel="<CHANNEL-TO-CHECK>" #
username="<USER-TO-CHECK>"   #
curl -s "http://tmi.twitch.tv/group/user/${channel}/chatters" |
jq ".chatters | flatten | contains([\"${username}\"])"

API usage (offline)

URL twitch-chat-checker.herokuapp.com/

Endpoint Description
GET /:username/on/:channel Get information about username & channel chat

Query parameter: fields

Name Description
_extra To show only extra informations.
data To show only real Twitch TV API request.

Example Request

curl -X GET https:/twitch-chat-checker.herokuapp.com/kempzbr/on/mydopefish

Example Response

{
	"_extra": {
		"solicitated_at": "2017-03-11T18:38:21.831Z",
		"from": "kempzbr",
		"to": "mydopefish",
		"online": true,
		"type": "viewer"
	},
  "chatter_count": 1,
  "chatters": {
		"moderators": [],
		"staff": [],
		"admins": [],
		"global_mods": [],
		"viewers": [
			"kempzbr"
		]
  }
}

Browser Support

Chrome logo Firefox logo Internet Explorer logo
35+ ✔ 38+ ✔ 9+ ✔

About

❌ Web page to check if a user is active on some Twitch TV channel chat. LICENSE: https://micalevisk.mit-license.org

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published