Code Monkey home page Code Monkey logo

twitch-app's Introduction

warning


at now twitch break API definition and disable anonymous request, so this brake the app. So there is no much sence to from this product or any other product that use Twitch API. Unless you are glad to spend your time and effort to the hole. For my opinion twitch should not call his web app as API, becouse this violate the main idea of API - automated sharing the data, becouse the main characteristic of API is how stable they are. Not stable API should not even call API.

twitch

Get list of Dota 2 streams from command line and open twitch Dota 2 stream from command line

Install

Install Livestreamer

go to https://github.com/chrippa/livestreamer/releases find any link called win32-setup.exe for example https://github.com/chrippa/livestreamer/releases/download/v1.12.2/livestreamer-v1.12.2-win32-setup.exe

Install mpc-hc

Go to https://sourceforge.net/projects/mpc-hc/ and install

Usage

Start Windows Powerhell Navigate where Get-Streams.ps1 and Open-Stream.ps1 live

 PS> cd C:\Users\...\GitHub\twitch (enter)

Execute the script:

 PS> .\Get-Streams.ps1 (enter)

Or from cmd:

  powershell -noexit "& ""C:\Users\...\GitHub\Get-Streams.ps1""" (enter)
PS D:\twitch> .\Get-Streams.ps1

Sample of output:

channel                  viewers status
-------                  ------- ------
starladder1                39463 C9 vs Vega || SLTV XII Europe Group C, Day 2 || by @GodHunt_SLTV
dotastarladder_en          23814 SLTV 12 - Vega vs Cloud9 w/ @ODPixel
sing_sing                  12445 HIT BOX CHAMPION STREAM
esl_joindotared             3356 Elysium vs Power Rangers - ESL One Qualifiers  - @DotaCapitalist
esl_stormstudio_dota2_ru    1767 LDI vs. BBC 0-1 ESL Qualif @CrystalMay & Haze
evilarthas                  1671 Solo RMM 6800 - 6к помойка is real (нажал поиск в доте)
zai                         1598 hello
nomadtv                      801 [PT-BR] Star Ladder EU - C9 x Vega com @pdsdoto e @mussidota
d2net                        786 Dota2.Net WeekendCup #5 @nice_uropb @prigorelo
versuta                      771 RECAST:HS+ORI+DOTA
morphia666                   703 subday и стрим 24h ༼ つ ◕_◕ ༽つ HO HO HA HA
rusya_dusya                  491 Калибровка,стата 4-1.#Ставки#Общение.
afsent1                      485 TOP ES PLAYING PARTY РОЗЫГРЫШ АККАУНТА 4800
gladiatorpwnz                434 ГЛАД ВАЛАКАС DOTA 2 8400 MMR
y0nd                         421 dota7,5k + gamazy.com
topbriantv                   285 48 часов марафон
foxido                       258 Первые стримы с русскими персонажами
romaxaa                      257 кальян на ананасе
cartmanzbs                   239 CarTmaN BAHAEM 5500 RUSSIAN SERVER (o_o')
siractionslacks              228 Subber Sat -You Play I Cast-

psdemo.png

player

CPU in LiveStreamer

cpu

CPU in Web Player

webPlayer

twitch-app's People

Contributors

mbasiuk avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.