yaylib


Nameyaylib JSON
Version 1.4.14 PyPI version JSON
download
home_pagehttps://github.com/ekkx/yaylib
Summary同世代と趣味の通話コミュニティ - Yay! (イェイ) で投稿やタイムラインの取得、リツイートやいいねの実行、フォローや投稿の検索など様々な機能をPythonプログラムから利用可能なAPIクライアントツールです。
upload_time2024-03-21 07:42:59
maintainerekkx
docs_urlNone
authorekkx
requires_pythonNone
licenseMIT
keywords yay yaylib api bot tool client library wrapper ボット ライブラリ ツール
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div><a id="readme-top"></a></div>
<div align="center">
    <img src="https://img.shields.io/github/stars/ekkx/yaylib?style=for-the-badge&logo=appveyor&color=blue" />
    <img src="https://img.shields.io/github/forks/ekkx/yaylib?style=for-the-badge&logo=appveyor&color=blue" />
    <img src="https://img.shields.io/github/issues/ekkx/yaylib?style=for-the-badge&logo=appveyor&color=informational" />
    <img src="https://img.shields.io/github/issues-pr/ekkx/yaylib?style=for-the-badge&logo=appveyor&color=informational" />
</div>
<br />
<p align="center">
    <a href="https://github.com/othneildrew/Best-README-Template">
        <img src="https://github.com/ekkx/yaylib/assets/77382767/45c45b21-d812-4cad-8f27-315ffef53201" alt="Logo" height="300px">
    </a>
    <h3 align="center">yaylib</h3>
    <p align="center">
        同世代とつながる通話コミュニティ - Yay!(イェイ)の API ライブラリ<br />
        あらゆる操作の自動化や、ボットの開発が可能です。
        <br />
        <br />
        <a href="https://github.com/ekkx/yay.js">
            <strong>Node.js 版はこちらから »</strong>
        </a>
        <br />
        <br />
        <a href="https://github.com/ekkx/yaylib/issues">Report Bug</a>
        ·
        <a href="https://github.com/ekkx/yaylib/issues">Request Feature</a>
        ·
        <a href="https://discord.gg/MEuBfNtqRN">Join the discord</a>
    </p>
</p>

<!-- TABLE OF CONTENTS -->

<details>
  <summary>Table of Contents</summary>
  <ol>
    <li><a href="#buy-me-a-coffee">Buy me a coffee</a></li>
    <li><a href="#-installation">インストール</a></li>
    <li><a href="#-quick-example">使用例</a></li>
    <li><a href="#crown-yaylib-で誕生したロボットたち">yaylib で誕生したロボットたち</a></li>
    <li><a href="#handshake-共同開発について">共同開発について</a></li>
    <li><a href="#免責事項">免責事項</a></li>
    <li><a href="#利用許諾">利用許諾</a></li>
  </ol>
</details>

<!-- Buy me a coffee -->

## Buy me a coffee

このライブラリが気に入っていただけたら、<a href="https://github.com/ekkx/yaylib/">**リポジトリにスターをお願いします</a>(⭐)**  
また、Buy Me a Coffee からご支援いただけますと幸いです。

<a href="https://www.buymeacoffee.com/qvco" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>

<!-- インストール -->

## [<img src="https://github.com/ekkx/yaylib/assets/77382767/2f632349-0cbc-4c81-bc19-11d24c8c142b" width="30" height="30" />](https://github.com/ekkx) Installation

**※ Python 3.10 以上のバージョンが必要です。**

「yaylib」をインストールするには、以下のコマンドをターミナル上で実行します:

```bash
pip install yaylib
```

<br>

> [!TIP]
> 開発バージョンをインストールする場合は、以下の手順を実行します:

```bash
git clone https://github.com/ekkx/yaylib.git

cd yaylib

make setup

make active
```

<!-- 使用例 -->

## [<img src="https://github.com/ekkx/yaylib/assets/77382767/dc7dcea0-c581-4039-8fc2-3994884d2ba3" width="30" height="30" />](https://github.com/ekkx) Quick Example

#### ✨ 投稿を作成する

```python
import yaylib

client = yaylib.Client()
client.login(email="your_email", password="your_password")

client.create_post("Hello with yaylib!")
```

#### ✨ 埋め込みリンクの投稿を作成する

```python
import yaylib

client = yaylib.Client()
client.login(email="your_email", password="your_password")

client.create_post("Hello with yaylib!", shared_url="https://github.com/ekkx/yaylib")
```

#### ✨ 画像と一緒に投稿を作成する

```python
import yaylib

client = yaylib.Client()
client.login(email="your_email", password="your_password")

# 画像のパスを指定
image_paths = [
    "./test1.jpg",
    "./test2.jpg",
    "./test3.jpg",
]

# 画像の使い道を指定
image_type = yaylib.ImageType.post

# サーバー上にアップロード
attachments = client.upload_image(image_paths, image_type)

# サーバー上のファイル名を指定する
# attachmentsが一つ飛ばしなのはオリジナル品質の画像のみを指定するため
client.create_post(
    "Hello with yaylib!",
    attachment_filename=attachments[0].filename,
    attachment_2_filename=attachments[2].filename,
    attachment_3_filename=attachments[4].filename,
)
```

#### ✨ タイムラインを 100 件取得する

```python
import yaylib

client = yaylib.Client()

timeline = client.get_timeline(number=100)

for post in timeline.posts:
    print(post.user.nickname)  # 投稿者名
    print(post.text)  # 本文
    print(post.likes_count)  # いいね数
    print(post.reposts_count)  # (´∀`∩)↑age↑の数
    print(post.in_reply_to_post_count)  # 返信の数
```

#### ✨ タイムラインをキーワードで検索して「いいね」する

```python
import yaylib

client = yaylib.Client()
client.login(email="your_email", password="your_password")

timeline = client.get_timeline_by_keyword(
    keyword="プログラミング",
    number=15
)

for post in timeline.posts:
    client.like(post.id)
```

#### ✨ 新規ユーザーをフォローする

```python
import yaylib

client = yaylib.Client()
client.login(email="your_email", password="your_password")

new_users = client.search_users(recently_created=True)

for new_user in new_users.users:
    client.follow_user(new_user.id)
```

#### ✨ リアルタイムでチャットを取得する

```python
import yaylib
from yaylib import Message

class MyBot(yaylib.Client):
    def on_ready(self):
        print("ボットがオンラインになりました!")

    def on_chat_request(self, total_count):
        # チャットリクエストはすべて承認する
        chat_requests = self.get_chat_requests()
        for chat_room in chat_requests.chat_rooms:
            self.accept_chat_requests([chat_room.id])

        # 最新のメッセージをon_message_create関数に送信
        message = self.get_messages(chat_requests.chat_rooms[0].id)
        self.on_message_create(message[0])

    def on_message_create(self, message: Message):
        # 「ping」というメッセージに対して「pong」と返信する
        if message.text == "ping":
            self.send_message(message.room_id, text="pong")

    def on_chat_room_delete(self, room_id):
        print(f"チャットルームが削除されました。ルームID: {room_id}")

intents = yaylib.Intents.none()
intents.chat_message = True

bot = MyBot(intents=intents)
bot.run("your_email", "your_password")
```

より詳しい使用例については、[こちら](https://github.com/ekkx/yaylib/blob/master/examples) を参照してください。

<p align="right">(<a href="#readme-top">トップに戻る</a>)</p>

<!-- yaylib で誕生したボットの一覧 -->

## :crown: yaylib で誕生したロボットたち

「yaylib」を用いて開発したロボットがある場合は、ぜひ教えてください!

<table align="center">
    <thead>
        <tr>
            <th><a href="https://yay.space/user/5855987">MindReader AI</a></th>
            <th><a href="https://yay.space/user/7874560">☀️気象くん☁️</a></th>
            <th><a href="https://yay.space/user/7406336">GIGAZINE</a></th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td align="center">
                <img src="https://github.com/ekkx/yaylib/assets/77382767/cc41ce3c-0e11-4ec5-be99-ff7090a95667" width="200px">
                <br />
                <p>開発者: <a href="https://yay.space/user/35152">毛の可能性</a></p>
            </td>
            <td align="center">
                <img src="https://github.com/ekkx/yaylib/assets/77382767/4fd728a0-9b3a-427f-ac1f-70e6d6538564" width="200px">
                <br />
                <p>開発者: <a href="https://yay.space/user/7520368">tori</a></p>
            </td>
            <td align="center">
                <img src="https://github.com/ekkx/yaylib/assets/77382767/65fcb885-4fbe-4170-9378-6f8d9af61ff8" width="200px">
                <br />
                <p>開発者: <a href="https://yay.space/user/1298298">ぺゅー</a></p>
            </td>
        </tr>
    </tbody>
</table>

<!-- 共同開発について -->

## :handshake: 共同開発について

私たちと開発することに興味を持っていただけているなら、ぜひ参加して頂きたいです!

- <a href="https://github.com/ekkx/yaylib/pulls">プルリクエストを送信する</a>
- <a href="https://discord.gg/MEuBfNtqRN">Discord サーバーに参加する</a>
- <a href="mailto:nikola.desuga@gmail.com">nikola.desuga@gmail.com にメールを送信する</a>

のいずれかの方法で繋がりましょう。詳しくは[こちらから](https://github.com/ekkx/yaylib/blob/master/CONTRIBUTING.md)!

<!-- 免責事項 -->

## 免責事項

yaylib は、API の公式なサポートやメンテナンスを提供するものではありません。このクライアントを使用する場合、**利用者はリスクや責任を自己負担できるもの**とします。このクライアントによって提供される情報やデータの正確性、信頼性、完全性、適時性について、いかなる保証も行いません。また、このクライアントの使用によって生じた損害や不利益について、一切の責任を負いかねます。利用者は自己の責任において、このクライアントを使用し、API にアクセスするものとします。なお、この免責事項は予告なく変更される場合があります。

<!-- ライセンス -->

## ライセンス

<p align="center">
  <a href="https://github.com/ekkx">
    <img src="https://github.com/ekkx/yaylib/assets/77382767/5d6aef18-5d98-4c9b-9f54-791308b393af" width="256" height="256">
  </a>
</p>

<p align="center">
  <strong>MIT © <a href="https://github.com/ekkx">ekkx</a></strong>
</p>

フルライセンスは [こちら](https://github.com/ekkx/yaylib/blob/master/LICENSE) からご確認いただけます。  
このプロジェクトは、 **【MIT ライセンス】** の条件の下でライセンスされています。

<p align="right">(<a href="#readme-top">トップに戻る</a>)</p>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ekkx/yaylib",
    "name": "yaylib",
    "maintainer": "ekkx",
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": "nikola.desuga@gmail.com",
    "keywords": "yay, yaylib, api, bot, tool, client, library, wrapper, \u30dc\u30c3\u30c8, \u30e9\u30a4\u30d6\u30e9\u30ea, \u30c4\u30fc\u30eb",
    "author": "ekkx",
    "author_email": "nikola.desuga@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f2/ae/cc045842e96c084f8419b70797c50b38f441f882be6ee3c4636c9d8f744c/yaylib-1.4.14.tar.gz",
    "platform": null,
    "description": "<div><a id=\"readme-top\"></a></div>\r\n<div align=\"center\">\r\n    <img src=\"https://img.shields.io/github/stars/ekkx/yaylib?style=for-the-badge&logo=appveyor&color=blue\" />\r\n    <img src=\"https://img.shields.io/github/forks/ekkx/yaylib?style=for-the-badge&logo=appveyor&color=blue\" />\r\n    <img src=\"https://img.shields.io/github/issues/ekkx/yaylib?style=for-the-badge&logo=appveyor&color=informational\" />\r\n    <img src=\"https://img.shields.io/github/issues-pr/ekkx/yaylib?style=for-the-badge&logo=appveyor&color=informational\" />\r\n</div>\r\n<br />\r\n<p align=\"center\">\r\n    <a href=\"https://github.com/othneildrew/Best-README-Template\">\r\n        <img src=\"https://github.com/ekkx/yaylib/assets/77382767/45c45b21-d812-4cad-8f27-315ffef53201\" alt=\"Logo\" height=\"300px\">\r\n    </a>\r\n    <h3 align=\"center\">yaylib</h3>\r\n    <p align=\"center\">\r\n        \u540c\u4e16\u4ee3\u3068\u3064\u306a\u304c\u308b\u901a\u8a71\u30b3\u30df\u30e5\u30cb\u30c6\u30a3 - Yay!\uff08\u30a4\u30a7\u30a4\uff09\u306e API \u30e9\u30a4\u30d6\u30e9\u30ea<br />\r\n        \u3042\u3089\u3086\u308b\u64cd\u4f5c\u306e\u81ea\u52d5\u5316\u3084\u3001\u30dc\u30c3\u30c8\u306e\u958b\u767a\u304c\u53ef\u80fd\u3067\u3059\u3002\r\n        <br />\r\n        <br />\r\n        <a href=\"https://github.com/ekkx/yay.js\">\r\n            <strong>Node.js \u7248\u306f\u3053\u3061\u3089\u304b\u3089 \u00bb</strong>\r\n        </a>\r\n        <br />\r\n        <br />\r\n        <a href=\"https://github.com/ekkx/yaylib/issues\">Report Bug</a>\r\n        \u00b7\r\n        <a href=\"https://github.com/ekkx/yaylib/issues\">Request Feature</a>\r\n        \u00b7\r\n        <a href=\"https://discord.gg/MEuBfNtqRN\">Join the discord</a>\r\n    </p>\r\n</p>\r\n\r\n<!-- TABLE OF CONTENTS -->\r\n\r\n<details>\r\n  <summary>Table of Contents</summary>\r\n  <ol>\r\n    <li><a href=\"#buy-me-a-coffee\">Buy me a coffee</a></li>\r\n    <li><a href=\"#-installation\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb</a></li>\r\n    <li><a href=\"#-quick-example\">\u4f7f\u7528\u4f8b</a></li>\r\n    <li><a href=\"#crown-yaylib-\u3067\u8a95\u751f\u3057\u305f\u30ed\u30dc\u30c3\u30c8\u305f\u3061\">yaylib \u3067\u8a95\u751f\u3057\u305f\u30ed\u30dc\u30c3\u30c8\u305f\u3061</a></li>\r\n    <li><a href=\"#handshake-\u5171\u540c\u958b\u767a\u306b\u3064\u3044\u3066\">\u5171\u540c\u958b\u767a\u306b\u3064\u3044\u3066</a></li>\r\n    <li><a href=\"#\u514d\u8cac\u4e8b\u9805\">\u514d\u8cac\u4e8b\u9805</a></li>\r\n    <li><a href=\"#\u5229\u7528\u8a31\u8afe\">\u5229\u7528\u8a31\u8afe</a></li>\r\n  </ol>\r\n</details>\r\n\r\n<!-- Buy me a coffee -->\r\n\r\n## Buy me a coffee\r\n\r\n\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u6c17\u306b\u5165\u3063\u3066\u3044\u305f\u3060\u3051\u305f\u3089\u3001<a href=\"https://github.com/ekkx/yaylib/\">**\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30b9\u30bf\u30fc\u3092\u304a\u9858\u3044\u3057\u307e\u3059</a>(\u2b50)**  \r\n\u307e\u305f\u3001Buy Me a Coffee \u304b\u3089\u3054\u652f\u63f4\u3044\u305f\u3060\u3051\u307e\u3059\u3068\u5e78\u3044\u3067\u3059\u3002\r\n\r\n<a href=\"https://www.buymeacoffee.com/qvco\" target=\"_blank\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" ></a>\r\n\r\n<!-- \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb -->\r\n\r\n## [<img src=\"https://github.com/ekkx/yaylib/assets/77382767/2f632349-0cbc-4c81-bc19-11d24c8c142b\" width=\"30\" height=\"30\" />](https://github.com/ekkx) Installation\r\n\r\n**\u203b Python 3.10 \u4ee5\u4e0a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5fc5\u8981\u3067\u3059\u3002**\r\n\r\n\u300cyaylib\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u30bf\u30fc\u30df\u30ca\u30eb\u4e0a\u3067\u5b9f\u884c\u3057\u307e\u3059:\r\n\r\n```bash\r\npip install yaylib\r\n```\r\n\r\n<br>\r\n\r\n> [!TIP]\r\n> \u958b\u767a\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3092\u5b9f\u884c\u3057\u307e\u3059:\r\n\r\n```bash\r\ngit clone https://github.com/ekkx/yaylib.git\r\n\r\ncd yaylib\r\n\r\nmake setup\r\n\r\nmake active\r\n```\r\n\r\n<!-- \u4f7f\u7528\u4f8b -->\r\n\r\n## [<img src=\"https://github.com/ekkx/yaylib/assets/77382767/dc7dcea0-c581-4039-8fc2-3994884d2ba3\" width=\"30\" height=\"30\" />](https://github.com/ekkx) Quick Example\r\n\r\n#### \u2728 \u6295\u7a3f\u3092\u4f5c\u6210\u3059\u308b\r\n\r\n```python\r\nimport yaylib\r\n\r\nclient = yaylib.Client()\r\nclient.login(email=\"your_email\", password=\"your_password\")\r\n\r\nclient.create_post(\"Hello with yaylib!\")\r\n```\r\n\r\n#### \u2728 \u57cb\u3081\u8fbc\u307f\u30ea\u30f3\u30af\u306e\u6295\u7a3f\u3092\u4f5c\u6210\u3059\u308b\r\n\r\n```python\r\nimport yaylib\r\n\r\nclient = yaylib.Client()\r\nclient.login(email=\"your_email\", password=\"your_password\")\r\n\r\nclient.create_post(\"Hello with yaylib!\", shared_url=\"https://github.com/ekkx/yaylib\")\r\n```\r\n\r\n#### \u2728 \u753b\u50cf\u3068\u4e00\u7dd2\u306b\u6295\u7a3f\u3092\u4f5c\u6210\u3059\u308b\r\n\r\n```python\r\nimport yaylib\r\n\r\nclient = yaylib.Client()\r\nclient.login(email=\"your_email\", password=\"your_password\")\r\n\r\n# \u753b\u50cf\u306e\u30d1\u30b9\u3092\u6307\u5b9a\r\nimage_paths = [\r\n    \"./test1.jpg\",\r\n    \"./test2.jpg\",\r\n    \"./test3.jpg\",\r\n]\r\n\r\n# \u753b\u50cf\u306e\u4f7f\u3044\u9053\u3092\u6307\u5b9a\r\nimage_type = yaylib.ImageType.post\r\n\r\n# \u30b5\u30fc\u30d0\u30fc\u4e0a\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\r\nattachments = client.upload_image(image_paths, image_type)\r\n\r\n# \u30b5\u30fc\u30d0\u30fc\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3059\u308b\r\n# attachments\u304c\u4e00\u3064\u98db\u3070\u3057\u306a\u306e\u306f\u30aa\u30ea\u30b8\u30ca\u30eb\u54c1\u8cea\u306e\u753b\u50cf\u306e\u307f\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\r\nclient.create_post(\r\n    \"Hello with yaylib!\",\r\n    attachment_filename=attachments[0].filename,\r\n    attachment_2_filename=attachments[2].filename,\r\n    attachment_3_filename=attachments[4].filename,\r\n)\r\n```\r\n\r\n#### \u2728 \u30bf\u30a4\u30e0\u30e9\u30a4\u30f3\u3092 100 \u4ef6\u53d6\u5f97\u3059\u308b\r\n\r\n```python\r\nimport yaylib\r\n\r\nclient = yaylib.Client()\r\n\r\ntimeline = client.get_timeline(number=100)\r\n\r\nfor post in timeline.posts:\r\n    print(post.user.nickname)  # \u6295\u7a3f\u8005\u540d\r\n    print(post.text)  # \u672c\u6587\r\n    print(post.likes_count)  # \u3044\u3044\u306d\u6570\r\n    print(post.reposts_count)  # (\u00b4\u2200\uff40\u2229)\u2191age\u2191\u306e\u6570\r\n    print(post.in_reply_to_post_count)  # \u8fd4\u4fe1\u306e\u6570\r\n```\r\n\r\n#### \u2728 \u30bf\u30a4\u30e0\u30e9\u30a4\u30f3\u3092\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u691c\u7d22\u3057\u3066\u300c\u3044\u3044\u306d\u300d\u3059\u308b\r\n\r\n```python\r\nimport yaylib\r\n\r\nclient = yaylib.Client()\r\nclient.login(email=\"your_email\", password=\"your_password\")\r\n\r\ntimeline = client.get_timeline_by_keyword(\r\n    keyword=\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\",\r\n    number=15\r\n)\r\n\r\nfor post in timeline.posts:\r\n    client.like(post.id)\r\n```\r\n\r\n#### \u2728 \u65b0\u898f\u30e6\u30fc\u30b6\u30fc\u3092\u30d5\u30a9\u30ed\u30fc\u3059\u308b\r\n\r\n```python\r\nimport yaylib\r\n\r\nclient = yaylib.Client()\r\nclient.login(email=\"your_email\", password=\"your_password\")\r\n\r\nnew_users = client.search_users(recently_created=True)\r\n\r\nfor new_user in new_users.users:\r\n    client.follow_user(new_user.id)\r\n```\r\n\r\n#### \u2728 \u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u30c1\u30e3\u30c3\u30c8\u3092\u53d6\u5f97\u3059\u308b\r\n\r\n```python\r\nimport yaylib\r\nfrom yaylib import Message\r\n\r\nclass MyBot(yaylib.Client):\r\n    def on_ready(self):\r\n        print(\"\u30dc\u30c3\u30c8\u304c\u30aa\u30f3\u30e9\u30a4\u30f3\u306b\u306a\u308a\u307e\u3057\u305f\uff01\")\r\n\r\n    def on_chat_request(self, total_count):\r\n        # \u30c1\u30e3\u30c3\u30c8\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u3059\u3079\u3066\u627f\u8a8d\u3059\u308b\r\n        chat_requests = self.get_chat_requests()\r\n        for chat_room in chat_requests.chat_rooms:\r\n            self.accept_chat_requests([chat_room.id])\r\n\r\n        # \u6700\u65b0\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092on_message_create\u95a2\u6570\u306b\u9001\u4fe1\r\n        message = self.get_messages(chat_requests.chat_rooms[0].id)\r\n        self.on_message_create(message[0])\r\n\r\n    def on_message_create(self, message: Message):\r\n        # \u300cping\u300d\u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u5bfe\u3057\u3066\u300cpong\u300d\u3068\u8fd4\u4fe1\u3059\u308b\r\n        if message.text == \"ping\":\r\n            self.send_message(message.room_id, text=\"pong\")\r\n\r\n    def on_chat_room_delete(self, room_id):\r\n        print(f\"\u30c1\u30e3\u30c3\u30c8\u30eb\u30fc\u30e0\u304c\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u30eb\u30fc\u30e0ID: {room_id}\")\r\n\r\nintents = yaylib.Intents.none()\r\nintents.chat_message = True\r\n\r\nbot = MyBot(intents=intents)\r\nbot.run(\"your_email\", \"your_password\")\r\n```\r\n\r\n\u3088\u308a\u8a73\u3057\u3044\u4f7f\u7528\u4f8b\u306b\u3064\u3044\u3066\u306f\u3001[\u3053\u3061\u3089](https://github.com/ekkx/yaylib/blob/master/examples) \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\r\n\r\n<p align=\"right\">(<a href=\"#readme-top\">\u30c8\u30c3\u30d7\u306b\u623b\u308b</a>)</p>\r\n\r\n<!-- yaylib \u3067\u8a95\u751f\u3057\u305f\u30dc\u30c3\u30c8\u306e\u4e00\u89a7 -->\r\n\r\n## :crown: yaylib \u3067\u8a95\u751f\u3057\u305f\u30ed\u30dc\u30c3\u30c8\u305f\u3061\r\n\r\n\u300cyaylib\u300d\u3092\u7528\u3044\u3066\u958b\u767a\u3057\u305f\u30ed\u30dc\u30c3\u30c8\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u305c\u3072\u6559\u3048\u3066\u304f\u3060\u3055\u3044\uff01\r\n\r\n<table align=\"center\">\r\n    <thead>\r\n        <tr>\r\n            <th><a href=\"https://yay.space/user/5855987\">MindReader AI</a></th>\r\n            <th><a href=\"https://yay.space/user/7874560\">\u2600\ufe0f\u6c17\u8c61\u304f\u3093\u2601\ufe0f</a></th>\r\n            <th><a href=\"https://yay.space/user/7406336\">GIGAZINE</a></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n        <tr>\r\n            <td align=\"center\">\r\n                <img src=\"https://github.com/ekkx/yaylib/assets/77382767/cc41ce3c-0e11-4ec5-be99-ff7090a95667\" width=\"200px\">\r\n                <br />\r\n                <p>\u958b\u767a\u8005: <a href=\"https://yay.space/user/35152\">\u6bdb\u306e\u53ef\u80fd\u6027</a></p>\r\n            </td>\r\n            <td align=\"center\">\r\n                <img src=\"https://github.com/ekkx/yaylib/assets/77382767/4fd728a0-9b3a-427f-ac1f-70e6d6538564\" width=\"200px\">\r\n                <br />\r\n                <p>\u958b\u767a\u8005: <a href=\"https://yay.space/user/7520368\">tori</a></p>\r\n            </td>\r\n            <td align=\"center\">\r\n                <img src=\"https://github.com/ekkx/yaylib/assets/77382767/65fcb885-4fbe-4170-9378-6f8d9af61ff8\" width=\"200px\">\r\n                <br />\r\n                <p>\u958b\u767a\u8005: <a href=\"https://yay.space/user/1298298\">\u307a\u3085\u30fc</a></p>\r\n            </td>\r\n        </tr>\r\n    </tbody>\r\n</table>\r\n\r\n<!-- \u5171\u540c\u958b\u767a\u306b\u3064\u3044\u3066 -->\r\n\r\n## :handshake: \u5171\u540c\u958b\u767a\u306b\u3064\u3044\u3066\r\n\r\n\u79c1\u305f\u3061\u3068\u958b\u767a\u3059\u308b\u3053\u3068\u306b\u8208\u5473\u3092\u6301\u3063\u3066\u3044\u305f\u3060\u3051\u3066\u3044\u308b\u306a\u3089\u3001\u305c\u3072\u53c2\u52a0\u3057\u3066\u9802\u304d\u305f\u3044\u3067\u3059\uff01\r\n\r\n- <a href=\"https://github.com/ekkx/yaylib/pulls\">\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b</a>\r\n- <a href=\"https://discord.gg/MEuBfNtqRN\">Discord \u30b5\u30fc\u30d0\u30fc\u306b\u53c2\u52a0\u3059\u308b</a>\r\n- <a href=\"mailto:nikola.desuga@gmail.com\">nikola.desuga@gmail.com \u306b\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b</a>\r\n\r\n\u306e\u3044\u305a\u308c\u304b\u306e\u65b9\u6cd5\u3067\u7e4b\u304c\u308a\u307e\u3057\u3087\u3046\u3002\u8a73\u3057\u304f\u306f[\u3053\u3061\u3089\u304b\u3089](https://github.com/ekkx/yaylib/blob/master/CONTRIBUTING.md)\uff01\r\n\r\n<!-- \u514d\u8cac\u4e8b\u9805 -->\r\n\r\n## \u514d\u8cac\u4e8b\u9805\r\n\r\nyaylib \u306f\u3001API \u306e\u516c\u5f0f\u306a\u30b5\u30dd\u30fc\u30c8\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3092\u63d0\u4f9b\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001**\u5229\u7528\u8005\u306f\u30ea\u30b9\u30af\u3084\u8cac\u4efb\u3092\u81ea\u5df1\u8ca0\u62c5\u3067\u304d\u308b\u3082\u306e**\u3068\u3057\u307e\u3059\u3002\u3053\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u3088\u3063\u3066\u63d0\u4f9b\u3055\u308c\u308b\u60c5\u5831\u3084\u30c7\u30fc\u30bf\u306e\u6b63\u78ba\u6027\u3001\u4fe1\u983c\u6027\u3001\u5b8c\u5168\u6027\u3001\u9069\u6642\u6027\u306b\u3064\u3044\u3066\u3001\u3044\u304b\u306a\u308b\u4fdd\u8a3c\u3082\u884c\u3044\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u3053\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u4f7f\u7528\u306b\u3088\u3063\u3066\u751f\u3058\u305f\u640d\u5bb3\u3084\u4e0d\u5229\u76ca\u306b\u3064\u3044\u3066\u3001\u4e00\u5207\u306e\u8cac\u4efb\u3092\u8ca0\u3044\u304b\u306d\u307e\u3059\u3002\u5229\u7528\u8005\u306f\u81ea\u5df1\u306e\u8cac\u4efb\u306b\u304a\u3044\u3066\u3001\u3053\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3001API \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3082\u306e\u3068\u3057\u307e\u3059\u3002\u306a\u304a\u3001\u3053\u306e\u514d\u8cac\u4e8b\u9805\u306f\u4e88\u544a\u306a\u304f\u5909\u66f4\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\r\n\r\n<!-- \u30e9\u30a4\u30bb\u30f3\u30b9 -->\r\n\r\n## \u30e9\u30a4\u30bb\u30f3\u30b9\r\n\r\n<p align=\"center\">\r\n  <a href=\"https://github.com/ekkx\">\r\n    <img src=\"https://github.com/ekkx/yaylib/assets/77382767/5d6aef18-5d98-4c9b-9f54-791308b393af\" width=\"256\" height=\"256\">\r\n  </a>\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <strong>MIT \u00a9 <a href=\"https://github.com/ekkx\">ekkx</a></strong>\r\n</p>\r\n\r\n\u30d5\u30eb\u30e9\u30a4\u30bb\u30f3\u30b9\u306f [\u3053\u3061\u3089](https://github.com/ekkx/yaylib/blob/master/LICENSE) \u304b\u3089\u3054\u78ba\u8a8d\u3044\u305f\u3060\u3051\u307e\u3059\u3002  \r\n\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u3001 **\u3010MIT \u30e9\u30a4\u30bb\u30f3\u30b9\u3011** \u306e\u6761\u4ef6\u306e\u4e0b\u3067\u30e9\u30a4\u30bb\u30f3\u30b9\u3055\u308c\u3066\u3044\u307e\u3059\u3002\r\n\r\n<p align=\"right\">(<a href=\"#readme-top\">\u30c8\u30c3\u30d7\u306b\u623b\u308b</a>)</p>\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\u540c\u4e16\u4ee3\u3068\u8da3\u5473\u306e\u901a\u8a71\u30b3\u30df\u30e5\u30cb\u30c6\u30a3 - Yay! (\u30a4\u30a7\u30a4) \u3067\u6295\u7a3f\u3084\u30bf\u30a4\u30e0\u30e9\u30a4\u30f3\u306e\u53d6\u5f97\u3001\u30ea\u30c4\u30a4\u30fc\u30c8\u3084\u3044\u3044\u306d\u306e\u5b9f\u884c\u3001\u30d5\u30a9\u30ed\u30fc\u3084\u6295\u7a3f\u306e\u691c\u7d22\u306a\u3069\u69d8\u3005\u306a\u6a5f\u80fd\u3092Python\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u5229\u7528\u53ef\u80fd\u306aAPI\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30c4\u30fc\u30eb\u3067\u3059\u3002",
    "version": "1.4.14",
    "project_urls": {
        "Download": "https://github.com/ekkx/yaylib",
        "Homepage": "https://github.com/ekkx/yaylib"
    },
    "split_keywords": [
        "yay",
        " yaylib",
        " api",
        " bot",
        " tool",
        " client",
        " library",
        " wrapper",
        " \u30dc\u30c3\u30c8",
        " \u30e9\u30a4\u30d6\u30e9\u30ea",
        " \u30c4\u30fc\u30eb"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e0b17cd7da8a702d5db6cf3e0dc58abb4880d63db05c6aec38012c91980a07e8",
                "md5": "1514bbbe6d97feb0d0c9fc374a7429e6",
                "sha256": "73c0b7facd1719dd70211569fde4d6182badc73504153c17a75b91e632dac120"
            },
            "downloads": -1,
            "filename": "yaylib-1.4.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1514bbbe6d97feb0d0c9fc374a7429e6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 87658,
            "upload_time": "2024-03-21T07:42:57",
            "upload_time_iso_8601": "2024-03-21T07:42:57.224147Z",
            "url": "https://files.pythonhosted.org/packages/e0/b1/7cd7da8a702d5db6cf3e0dc58abb4880d63db05c6aec38012c91980a07e8/yaylib-1.4.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f2aecc045842e96c084f8419b70797c50b38f441f882be6ee3c4636c9d8f744c",
                "md5": "2e843221ca68e541e576cd8a3fed2e86",
                "sha256": "bb63c1a414501e00a32ca603f951a0a563c0b7446b907204cdd8c138d34b9165"
            },
            "downloads": -1,
            "filename": "yaylib-1.4.14.tar.gz",
            "has_sig": false,
            "md5_digest": "2e843221ca68e541e576cd8a3fed2e86",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 66359,
            "upload_time": "2024-03-21T07:42:59",
            "upload_time_iso_8601": "2024-03-21T07:42:59.525788Z",
            "url": "https://files.pythonhosted.org/packages/f2/ae/cc045842e96c084f8419b70797c50b38f441f882be6ee3c4636c9d8f744c/yaylib-1.4.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-21 07:42:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ekkx",
    "github_project": "yaylib",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "yaylib"
}
        
Elapsed time: 0.19630s