The misskey library for Python. misskey is made by syuilo.
Project description
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
usage
import library (init)
from misskey import Misskey mk = Misskey("misskey.io") # Input instance address (If leaved no attribute, it sets "misskey.io") # Let's note! mk.notes_create( text="Hello Misskey.py!" )
Use token key
from misskey import Misskey # If use the token mk = Misskey("misskey.io", i="abcdef123...")
Create token
from misskey import Misskey, MiAuth auth = MiAuth("misskey.io", name="misskey.py") # Get Authentication URL, then send to client browser url = auth.generate_url() # After permission granted, run this function token = auth.check() # To use misskey.py with created token, please below misskey = Misskey("misskey.io", i=token) # or: misskey = misskey("misskey.io", i=auth.token)
Other
Pull requests are HUGE WELCOME!
We hope you will contribute to the completion of the library by all means.
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.
Built Distribution
Misskey.py-4.1.0-py3-none-any.whl
(16.1 kB
view hashes)
Close
Hashes for Misskey.py-4.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d118891d0cd59d7e8942870ab2145c78221ec9ea0c9a79e309a473f0a8db96fe |
|
MD5 | 9746bddd5ebf727861937cd149516e3a |
|
BLAKE2-256 | 8eb97803ea7ce79f63095fd764807fbe17cd6453c18e64cd9e3331afd7fecbb3 |