DaneAlex / oci

Package for interfacing with Owncast API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oci.js

Package for interfacing with the Owncast APIs.

Install

Node

$ npm install oci.js
const oci = require('oci.js');

const client = new oci.Client({
    AccessToken: YOUR_ACCESS_TOKEN,
    StreamKey: YOUR_STREAM_KEY,
    OwncastUrl: YOUR_STREAM_URL,
    BotUsername: YOUR_BOTS_NAME
});

client.getChatMessages(res => {
    console.log(res);
});

About

Package for interfacing with Owncast API


Languages

Language:JavaScript 100.0%