Socket
Socket
Sign inDemoInstall

@skyra/twitch-helpers

Package Overview
Dependencies
5
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @skyra/twitch-helpers

Very basic Twitch helper functions used across several ArchId bots


Version published
Weekly downloads
30
decreased by-3.23%
Maintainers
2
Install size
588 kB
Created
Weekly downloads
 

Readme

Source

@skyra/twitch-helpers

Very basic Twitch helper functions for several ArchId bots to ensure we do not duplicate code.

Features

  • Powered by the @skyra/safe-fetch package

Usage

First of all, you should make sure to define the following environment variables for your process:

  • TWITCH_CLIENT_ID: The Client ID of your Twitch application (generated at Twitch Dev Console)
  • TWITCH_CLIENT_SECRET: The Client Secret from your Twitch application (generated at Twitch Dev Console)
  • TWITCH_EVENT_SUB_CALLBACK: A public HTTP callback URL that can be used for the Twitch EventSub
  • TWITCH_EVENT_SUB_SECRET: A unique secret key that is sent to the EventSub system and returned by Twitch then used to validate whether a request is from Twitch or not.

After this, you can use the functions exported from this package to interact with the Twitch API.

Keywords

FAQs

Last updated on 06 Jan 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc