https://github.com/connormcf/mixerclient
Friendly Mixer streaming service API client
https://github.com/connormcf/mixerclient
mixer mixer-api mixer-client mixer-com
Last synced: 4 months ago
JSON representation
Friendly Mixer streaming service API client
- Host: GitHub
- URL: https://github.com/connormcf/mixerclient
- Owner: ConnorMcF
- License: mit
- Created: 2017-08-09T23:44:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-06T15:44:53.000Z (over 6 years ago)
- Last Synced: 2025-02-13T22:24:44.128Z (4 months ago)
- Topics: mixer, mixer-api, mixer-client, mixer-com
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Mixer Client [](https://circleci.com/gh/ConnorMcF/mixerclient) [](https://coveralls.io/github/ConnorMcF/mixerclient?branch=master) [](https://gitter.im/ConnorMcF/mixerclient?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Mixer Client is a friendly way to interact with the Mixer API.
### Installation
```sh
$ npm install mixerclient -S
```### Usage
```js
let Mixer = require('mixerclient')
let mixer = new Mixer('MIXER_TOKEN_HERE')mixer.on('ready', async () => {
let channel = await mixer.join()
channel.on('message', msg => {
if(msg.content == 'ping') {
msg.reply('pong!')
}
})
})mixer.init()
```
No token? Go to https://connormcf.com/mixeroauth/.Further documentation can be found in the [documentation directory](https://github.com/ConnorMcF/mixerclient/tree/master/docs) in the repo.
License
----MIT