Skip to content

ConnorMcF/mixerclient

Repository files navigation

Mixer Client CircleCI Coveralls Join the chat at https://gitter.im/ConnorMcF/mixerclient

Mixer Client is a friendly way to interact with the Mixer API.

Installation

$ npm install mixerclient -S

Usage

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 in the repo.

License

MIT

About

Friendly Mixer streaming service API client

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages