Skip to content

nennneko5787/pyskey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 日本語 Pyskey 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).

How to use this module

(in shell / command prompt)

pip install git+https://github.com/nennneko5787/pyskey

(in requirements.txt)

git+https://github.com/nennneko5787/pyskey

example scripts

(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.

Releases

No releases published

Packages

No packages published

Languages