Skip to main content

A Python wrapper for the Dogehouse API.

Project description

https://img.shields.io/badge/pypi-dogehouse-blue https://img.shields.io/pypi/v/dogehouse https://static.pepy.tech/personalized-badge/dogehouse?period=total&units=international_system&left_color=gray&right_color=blue&left_text=Downloads https://img.shields.io/pypi/pyversions/dogehouse

Python wrapper for the dogehouse API

Documentation

You can find the documentation at dogehouse.arthurdw.com

Installation

pip install dogehouse

Example

from dogehouse import DogeClient, event, command
from dogehouse.entities import Message


class Client(DogeClient):
    @event
    async def on_ready(self):
        print(f"Successfully connected as {self.user}!")
        await self.create_room("Hello World!")

    @command
    async def foo(self, ctx: Message):
        await self.send("bar")


if __name__ == "__main__":
    Client("YourToken", "YourRefreshToken", prefix="!").run()

Tokens

  • Go to https://dogehouse.tv

  • Open Developer options (F12 or Ctrl+Shift+I)

  • Go to Application > Local Storage > dogehouse.tv

  • There lies your TOKEN and REFRESH_TOKEN

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dogehouse-2.1.4.tar.gz (15.4 kB view details)

Uploaded Source

File details

Details for the file dogehouse-2.1.4.tar.gz.

File metadata

  • Download URL: dogehouse-2.1.4.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for dogehouse-2.1.4.tar.gz
Algorithm Hash digest
SHA256 d7a536f7fd3e405158b9ee0de04f7316b61e19d91d3bd7d71687ac62b9f584c4
MD5 1a5fcf425c462b3ae27d32c9645783b5
BLAKE2b-256 5c7fb7bee017b8877952d5bc3d67ade1dedd12973da7857143dd142cb25d3908

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page