English | 日本語
A python rapper library for misskey!
Warning
This library is currently in beta. If you encounter a bug, please post the issue.
Note
This README.md (English version) partly uses DeepL. (also in this text).
(in shell / command prompt)
pip install git+https://github.com/nennneko5787/pyskey
(in requirements.txt)
git+https://github.com/nennneko5787/pyskey
(get_me.py)
import pyskey
misskey = pyskey.Client(address="misskey.example.com", token="xxxxxxxxxx")
@misskey.event
async def on_ready():
print(f"{misskey.me.name} ( {misskey.me.username} ) にログインしました")
for _note in misskey.me.pinnedNotes:
print(_note)
misskey.run()
The other samples are in the example folder.