-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
26 lines (22 loc) · 1.44 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>OBS Twitch API Overlay</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- <span id="latest-follower-holder" class="holder">Letzter Follower <span id="latest-follower" class="value">...</span></span> -->
<!-- <span id="follower-count-holder" class="holder">Anzahl Follower <span id="follower-count" class="value">...</span></span> -->
<!-- <span id="latest-sub-holder" class="holder">Letzter Sub <span id="latest-sub" class="value">...</span></span> -->
<!-- <span id="sub-count-holder" class="holder">Anzahl Subs <span id="sub-count" class="value">...</span></span> -->
<div id="label">
<span id="label-description">...</span> <span id="label-value">...</span>
</div>
<a id="twitch-connector">Mit Twitch verbinden</a>
<script>document.querySelector('#twitch-connector').href = `https://id.twitch.tv/oauth2/authorize?client_id=mn01zj33eftqrsn760lac2l7nwnrls&redirect_uri=${window.location.protocol}//${window.location.hostname}/obs-twitch-api-overlay/&response_type=token&scope=channel_subscriptions`</script>
<script src="//unpkg.com/[email protected]/dist/twitch.js"></script>
<script src="js/script.js"></script>
</body>
</html>