Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

twitch-new-api

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twitch-new-api

Twitchfa Helix Api Wrapper in TypeScript

  • 2.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

Install

npm i twitch-new-api

Basic Usage

This package is written in TypeScript, so you can use it in both js and ts.

All of the methods are self documented, providing a good developer experience.

import { TwitchApi, TwitchCredentials } from '../src';

const twitchCredentials: TwitchCredentials = {
  id: 'twitch.client.id',
  secret: 'twitch.client.secret',
};

const twitch = new TwitchApi(twitchCredentials);

(async () => {
  const user = await twitch.getUserByName(['mechiller']);
  const profilePicture = user[0].profile_image_url;
})();

Contribution

I made this package for my own usage, if you need something specific, please, make an issue or PR.

License - MIT

Keywords

FAQs

Package last updated on 27 Nov 2020

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc