dlivetv-unofficial-api is a wrapping API for the graphql hidden api provided from dlive.tv with a focus on ease of use and on performance.
Prerequisites
- Access token is required to use this module. Create an account on dlive.tv then follow our wiki tutorial to get your token
Installation
dlivetv-unofficial-api is free and easy to install
npm install dlivetv-unofficial-api --save
You can install it in yarn too
yarn add dlivetv-unofficial-api
First Usage
const Dlive = const displayName = 'displayName' // Our streamer displayname (https://dlive.tv/displayName)const accessKey = 'YOUR KEY' // Our access key (https://dlive.timedot.cc/tutorials#get-my-access-token) // Chat cooldownconst coolDown = 3000 // 3 seconds // Parameter 1: displayName// Parameter 2: Your access key for sending messageslet example = displayName accessKey example example example // Get our channel informationexample exampleutil { example}
Documentation
You can find more examples and functions. For more information visit our wiki.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Acknowledgements
- Some graphql queries were taken from dlive-go-client written by @Dak425
- Contributors
See also
- C# version of dlivetv-unofficial-api