This package has been deprecated

Author message:

This package has been renamed to holodex.js. Please use holodex.js instead.

@stu43005/holodex-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Holodex API client

NPM

A Javascript library for the Holodex API.

Installing

Using npm:

$ npm install @stu43005/holodex-api

Getting Started

import { HolodexApiClient } from '@stu43005/holodex-api';

const client = new HolodexApiClient({
  apiKey: '' // Provide your personal API KEY. You can acquire a API KEY via the Account Settings page.
});

// Get Usada Pekora's channel info
client.getChannel('UC1DCedRgGHBdm81E1llLhOQ')
  .then(function (channel) {
    // handle result
    console.log(channel.name); // Pekora Ch. 兎田ぺこら
    console.log(channel.englishName); // Usada Pekora
    console.log(channel.subscriberCount); // 1540000
  });

// Get Hololive's stream
client.getLiveVideos({ org: 'Hololive' })
  .then(function (videos) {
    // handle result
    console.log(videos);
  });

Documentation

Documentation can be found here.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @stu43005/holodex-api

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

757 kB

Total Files

104

Last publish

Collaborators

  • stu43005