Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Misskey.py

PRs Welcome MIT License Build Status Coverage Status Documentation Status

Japanese version available. Click Here.

This script is Python library for Misskey Instance.

This library is only available in Python3.

Misskey is made by syuilo.


How to install

Use pip (Recommend)

pip install Misskey.py
# or
pip3 install Misskey.py

usage

import library (init)

from Misskey import Misskey

misskey = Misskey("misskey.io") # Input instance address (If leaved no attribute, it sets "misskey.io")

Use token key

from Misskey import Misskey

# If use the token
misskey = Misskey("misskey.io", i="abcdef123...")

Create token

from Misskey import Misskey
from Misskey.Util import MiAuth

auth = MiAuth("misskey.io", name="Misskey.py")
# Get Authentication URL, then send to client browser
url = auth.getUrl()
# After permission granted, run this function
token = auth.check()
# To use Misskey.py with created token, please below
misskey = Misskey("misskey.io", i=token["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.

About

The Misskey API library for Python. Misskey is made by syuilo. 🐑( '-' 🐑 )hug punch!!!!

Topics

Resources

License

Packages

No packages published

Languages