nennneko5787 / pyskey

A python rapper library for misskey!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A python rapper library for misskey!

License:GNU General Public License v3.0


Languages

Language:Python 100.0%