Skip to main content

The Highrise Bot SDK, for running Highrise bots written in Python.

Project description

The Highrise Python Bot SDK


The Highrise Python Bot SDK is a python library for writing and running Highrise bots.

First, install the library (preferably in a virtual environment):

$ pip install highrise-bot-sdk==23.1.0.b0

In the Settings section of the Highrise website, create a bot and generate the API token. You'll need the token to start your bot later. You will also need a room ID for your bot to connect to; the room needs to be owned by you or your bot user needs to have designer rights to enter it.

Open a new file, and paste the following to get started (into mybot.py for example):

from highrise import BaseBot

class Bot(BaseBot):
    pass

Override methods from BaseBot as needed.

When you're ready, run the bot from the terminal using the SDK, giving it the Python path to the Bot class:

$ highrise mybot:Bot <room ID> <API token>

Changelog

23.1.0.b1 (2023-03-28)

  • Add support for emotes and hidden channel messages.

23.1.0.b0 (2023-03-10)

  • Initial beta release.

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

highrise_bot_sdk-23.1.0b1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

highrise_bot_sdk-23.1.0b1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file highrise_bot_sdk-23.1.0b1.tar.gz.

File metadata

  • Download URL: highrise_bot_sdk-23.1.0b1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.9 Darwin/22.3.0

File hashes

Hashes for highrise_bot_sdk-23.1.0b1.tar.gz
Algorithm Hash digest
SHA256 78110337e77ec32168ced75f223251c010b1f743f6197e4a38f7e059f2c77bde
MD5 ed4871821840dbc0197a8a8d9253e1c5
BLAKE2b-256 f061db0307f34d14d98985c55f304421e96bf6b186c6de29b9e12f627284a155

See more details on using hashes here.

File details

Details for the file highrise_bot_sdk-23.1.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for highrise_bot_sdk-23.1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 6831c97deb49e94ae34e356dbc3a63cad9784676023f14d847ab45c2a7274285
MD5 69951e979ea8cef4ed7f2f9494f488bc
BLAKE2b-256 f9f4b589c857a2e4ed3561ec2fb24c2983785bb0cdf8fe320edcf958b89585aa

See more details on using hashes here.

Supported by

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