Skip to content

Instantly share code, notes, and snippets.

@chuckxD
Last active August 24, 2024 03:48
Show Gist options
  • Save chuckxD/377211b3dd3e8ca8dc505500938555eb to your computer and use it in GitHub Desktop.
Save chuckxD/377211b3dd3e8ca8dc505500938555eb to your computer and use it in GitHub Desktop.
ffz/bttv known API end-points quick list
# known bttv api end-points in bettertv (https://github.com/night/betterttv)
# wth is this file?
# vscode rest client extension: https://marketplace.visualstudio.com/items?itemName=humao.rest-client
###
# global
GET https://api.betterttv.net/3/cached/emotes/global
Content-Type: application/json; charset=utf-8
User-agent: "vscode-client"
### curl --request GET --url https://api.betterttv.net/3/cached/emotes/global --header 'content-type: application/json' --header 'user-agent: vscode-client'
# badges
GET https://api.betterttv.net/3/cached/badges
Content-Type: application/json; charset=utf-8
User-agent: "vscode-client"
### curl --request GET --url https://api.betterttv.net/3/cached/emotes/global --header 'content-type: application/json; charset=utf-8' --header 'user-agent: "vscode-client"' --data 'GET https://api.betterttv.net/3/cached/badgesContent-Type: application/json; charset=utf-8User-agent: "vscode-client"'
# list all bttv channel (accound id) emotes
GET https://api.betterttv.net/3/cached/users/twitch/121059319
Content-Type: application/json; charset=utf-8
User-agent: "vscode-client"
### curl --request GET --url https://api.betterttv.net/3/cached/users/twitch/121059319 --header 'content-type: application/json; charset=utf-8' --header 'user-agent: "vscode-client"'
# list all ffz emotes per channel (account id)
GET https://api.betterttv.net/3/cached/frankerfacez/users/twitch/121059319
Content-Type: application/json; charset=utf-8
User-agent: "vscode-client"
### curl --request GET --url https://api.betterttv.net/3/cached/frankerfacez/users/twitch/121059319 --header 'content-type: application/json; charset=utf-8' --header 'user-agent: "vscode-client"'
# changelog(?)
GET https://api.betterttv.net/3/cached/changelog
Content-Type: application/json; charset=utf-8
User-agent: "vscode-client"
### curl --request GET --url https://api.betterttv.net/3/cached/frankerfacez/users/twitch/121059319 --header 'content-type: application/json; charset=utf-8' --header 'user-agent: "vscode-client"' --data 'GET https://api.betterttv.net/3/cached/changelogContent-Type: application/json; charset=utf-8User-agent: "vscode-client"'
# cdn get
GET https://cdn.betterttv.net/emote/5a970ab2122e4331029f0d7e/1x
### curl --request GET --url https://cdn.betterttv.net/emote/5a970ab2122e4331029f0d7e/1x --header 'user-agent: vscode-restclient'
GET https://cdn.betterttv.net/emote/5a970ab2122e4331029f0d7e/2x
### curl --request GET --url https://cdn.betterttv.net/emote/5a970ab2122e4331029f0d7e/2x --header 'user-agent: vscode-restclient'
GET https://cdn.betterttv.net/emote/5a970ab2122e4331029f0d7e/3x
### curl --request GET --url https://cdn.betterttv.net/emote/5a970ab2122e4331029f0d7e/3x --header 'user-agent: vscode-restclient'
# some ffz api end-points from their extension
###
# channel ffz get
GET https://api.frankerfacez.com/v1/room/id/30777889
Content-Type: application/json; charset=utf-8
User-agent: "vscode-client"
### curl --request GET --url https://api.frankerfacez.com/v1/room/id/30777889 --header 'content-type: application/json; charset=utf-8' --header 'user-agent: "vscode-client"'
# cdn get
GET https://cdn.frankerfacez.com/emote/303899/1
### curl --request GET --url https://cdn.frankerfacez.com/emote/303899/1 --header 'user-agent: vscode-restclient'
GET https://cdn.frankerfacez.com/emote/303899/2
### curl --request GET --url https://cdn.frankerfacez.com/emote/303899/2 --header 'user-agent: vscode-restclient'
###
@chuckxD
Copy link
Author

chuckxD commented Jan 17, 2024

This gist is obsolete in current year. Try these instead:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment