twitch-widget-core
v1.0.0
Published
Twitch widget to show follower and view count
Downloads
3
Readme
Twitch-widget-core
Twitch widget to show follower and view count
What's the difference between core and regular?
The regular version gets the data and writes it into the page. The core version does not.
Dependencies
- jQuery
How to use
- Install on website
1.Install on your website
<script src="/path/to/twitch-widget-core.js"></script> - Initialize
tw.auth = "your_auth_key";
tw.id = "your_client_id";
tw.user = "your_user_id";
tw.init(); - Access data
The variables used are:- tw.followers
- tw.views