Skip to content

Client-side implementation of DogeHouse API.

License

Notifications You must be signed in to change notification settings

tonoli/dogehouse.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DogeGarden logo

Client-side implementation of DogeHouse API. 🐶

discord - users online


NPM Package

  • Our NPM package is the quickest and easiest way to jump in with dogehouse.js.
  • dogehouse.js package

Installation

  1. Go to DogeHouse
  2. Open Developer options (F12 or Ctrl+Shift+I)
  3. Go to Application > Local Storage > dogehouse.tv
  4. Copy your token and refresh-token and put them in an .env file:
DOGEHOUSE_TOKEN=<token>
DOGEHOUSE_REFRESH_TOKEN=<refresh-token>
  1. Install NodeJS and NPM.

Examples

  • All examples like, sending messages, joining rooms, music, moderation and more are in /examples.

JavaScript Example

  • Get Popular Rooms
const { Client } = require('dogehouse.js');
const app = new Client();
app.connect(process.env.DOGEHOUSE_TOKEN, process.env.DOGEHOUSE_REFRESH_TOKEN).then(async () => {
    console.log('Bot connected!');
    console.log(await app.rooms.top); // Log all of your top rooms to console
});

Credits

Thank you to Abalon#2525 for the awesome logo!

About

Client-side implementation of DogeHouse API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 71.4%
  • TypeScript 28.6%