Application that finds scamming streams in CS:GO category on Twitch. If it finds a cheater it publishes a tweet to: https://twitter.com/twitchScamAlert
Executes every 15min when ran with node index.js. It looks at top 20 streams for category and checks their followers. If the follower to view ratio is too big, it saves the stream and makes a tweet with the stream picture and other data (number of views, uptime).
Generates tokes for Twitch, so you can get data from the website. They expire after a period of time so you need to update them. Wotking on automating this porcess.
Finds a user_id by username of a streamer.
This JSON file holds all of your credentials. All you need for Twitch and Twitter can be found on your API account (if you dont have one you need to sign up)
- image-to-base64
- node-schedule
- node-fetch
- twit