A Python wrapper for the Dogehouse API.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dogehouse-0.6.0.tar.gz
(9.2 kB
view details)
File details
Details for the file dogehouse-0.6.0.tar.gz
.
File metadata
- Download URL: dogehouse-0.6.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 508abe5be4799f53a433e648aa8a79c728da79e0b57f25d585fb396132d1a9ca |
|
MD5 | 75123e4ae7c023e8dec5206d5083583f |
|
BLAKE2b-256 | 4195cc68872bb3c5fcdd8169854be16bdd214453a283d8e64b9f6ea4f68987f3 |