Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Latest commit

 

History

History
34 lines (23 loc) · 2.38 KB

README.md

File metadata and controls

34 lines (23 loc) · 2.38 KB

⚠️ This tool stopped working with the shutdown of the Twitch v5/Kraken API in February 2022. ⚠️

There are no plans to migrate to the Twitch Helix API, sorry.

TwitchStreamLister

This is a small PowerShell module to list the top 25 live streams on Twitch.tv to a given game. Afterwards you're able to launch a stream just using it's number using an installed LiveStreamer instance. Perfect for your bedside notebook :D

Console Output

Requirements

This script requires at least PowerShell 4.0 (due to the usage of Invoke-RestMethod). Make sure you sign the script or enable unrestricted script access. To do this, start PowerShell as Administrator and execute Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Confirm.

Automatic Installation

Open PowerShell and execute (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/ElectronicWar/twitchstreamlister/master/Install.ps1") | iex. This will automatically download TwitchStreamLister as module into your profile in a few seconds.

Manual Installation

Clone this repository and copy TwitchListStreams.psm1 somewhere in %UserProfile%\Documents\WindowsPowerShell\Modules\. Or directly clone it into your Modules folder.

Usage

Just type Watch-TwitchStreams and enjoy (be lazy and just type "Watch" and auto-complete with Tab). Quality is hard-coded to "best" at the moment.

Forks and modifications

If you make substantial changes or want to fork and develop your own version, please register your program with Twitch.tv to retrieve your own Client ID for use with Twitch.tv API. To do this, go to http://www.twitch.tv/settings/connections and click on "Register your application" at the botton. It's fast and free :)

Acknowlegments

Automatic install script blatantly copied from the wonderful PSget, go check it out!

Thanks

Written with Sublime Text and Microsoft PowerShell ISE. Docs made with the free MarkdownPad 2. Source code management done with the great SourceTree App. Project hosted by GitHub. <3