Japanese version available. Click Here.
This script is Python library for Misskey Instance.
This library is only available in Python3.
How to install
Use pip (Recommend)
pip install Misskey.py # or pip3 install Misskey.py
import library (init)
from Misskey import Misskey misskey = Misskey("misskey.xyz") # Input instance address (If leaved no attribute, it sets "misskey.xyz")
Use token key
from Misskey import Misskey # If use the appSecret and accessToken misskey = Misskey("misskey.xyz", appSecret="abcdef123...", accessToken="abcdef123...")
from Misskey import Misskey # If use the apiToken (apiToken is sha256 hashed from appSecret and accessToken) misskey = Misskey("misskey.xyz", apiToken="abcdef123...")
Pull requests are HUGE WELCOME!
We hope you will contribute to the completion of the library by all means.