0.0.2 • Published 3 years ago

twitchdl v0.0.2

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

twitchdl

Node.js package to download all the clips from twitch that you want!

Installation

Use the package manager npm to install twitchdl.

npm install twitchdl

Usage

To be able to access the Twitch API, you will need to create a developer account at https://dev.twitch.tv/. Then, register a new application and note down the client id and client secret.

const tdl = require('twitchdl');

let clip = "https://www.twitch.tv/sanchovies/clip/TenuousPunchyKuduWoofer";

tdl.getBearerToken(client_id, client_secret).then((oauth) => {
    tdl.getTwitchVideo(client_id, oauth.access_token, clip).then((video_link) => {
        console.log(video_link);
    });
});

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Files to run tests will be pushed soon to the github project

License

MIT

0.0.1

3 years ago

0.0.2

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago