📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

livechecker

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

livechecker

Check if a YouTube or Twitch channel is streaming and get useful data

1.1.0
latest
Source
npm
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

LiveChecker

Small library to interact with the YouTube and Twitch Streaming APIs. For now you can only check if a YouTube channel or a Twitch user is streaming. In the future you should be able to interact with the complete APIs.

Installation

$ npm install livechecker --save

Usage

The full documentation is available here : http://siffreinsg.github.io/LiveChecker A fully documented example script will be available soon.

Returned data

The YouTube checker returns a boolean or the same data as https://developers.google.com/youtube/v3/docs/search/list#response The Twitch checker returns the same data as https://dev.twitch.tv/docs/v5/reference/streams#get-stream-by-user

ToDo

  • Integrate the full YouTube Stream API
  • Integrate the full Twitch Stream API

Release History

  • 1.1.0 Method added (check if a channel/user exists)
  • 1.0.1 Updated README
  • 1.0.0 Initial release

Keywords

live

FAQs

Package last updated on 13 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts