npm

ttvc

1.0.3 • Public • Published

ttvc

ttvc is library for getting the ToTal number of Views of a YouTube Channel per day.

Installation

npm install --save ttvc

I'd recommend use "cross-env" on "--save-dev" because this library looks environment variable.

Usage

  1. Set the the Youtube API key obtained using GCP to .env.
API_KEY=
  1. Set the ID of the channel for which you want to get the number of views to .env.
CHANNEL_ID=

Example:

node node_modules/ttvc/main.js
今日までのTestChannelの総再生回数は100000です。

License

yuki

Readme

Keywords

none

Package Sidebar

Install

npm i ttvc

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

2.1 kB

Total Files

3

Last publish

Collaborators

  • yuki_snow1823