misspy is Misskey API Library Written in Python.
Project description
misspy
Misskey API library for Python with StreamingAPI support.
supported software
Misskey forks not listed below are supported only in the latest version provided they are API compatible.
supported misskey versions
MiAuth is not supported before 12.27.0.
version | support | MiAuth |
---|---|---|
v12.27.0 before | ⭕ | ❌ |
v12.27.0 later | ⭕ | ⭕ |
v13 later | ⭕ | ⭕ |
example
Other examples can be found in the examples directory.
send note
import misspy
mi = misspy.Bot(address, i=token)
Output notes text to the console
import misspy
from misspy.ext import MiAuth
class StreamingBot(misspy.Bot):
async def on_ready(self):
print("running")
async def on_note(self, message):
print("------------")
print(message.text)
print("------------")
bot = StreamingBot("misskey.io", i=token)
bot.run()
MiAuth
from misspy.ext import MiAuth
mia = MiAuth("misskey.io")
print(mia.generate_url("example app"))
while True:
input("enter to continue...")
try:
token = mia.check()
break
except misspy.MiAuthFailed:
pass
print(token)
docs
Document is Multi-Language supported. (English, 中文, Español (lengua), 한국어, 日本語)
Documentation can be found at: https://misspy.sonyakun.com/docs
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
misspy-2023.9.14.tar.gz
(15.1 kB
view hashes)
Built Distribution
misspy-2023.9.14-py3-none-any.whl
(18.1 kB
view hashes)
Close
Hashes for misspy-2023.9.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a872c1187b81950778ae95b1a4a01fb57c0c9b8803fdd7d2cde5942826a21e2d |
|
MD5 | fe5f46fb24b95431fc1df0488a2402fe |
|
BLAKE2b-256 | 90210a721c2c958f1309135a0d9e3c50ba16de5f061949e0de1a6d37c44327f9 |