Unofficial wrapper for mildom api.
Project description
これは何?
Python用Mildom APIの非公式ライブラリです。 開発途中です。
対応状況
- ProfileV2 API
対応予定
- Playback API
注意
あくまでも非公式APIの非公式ラッパーです。開発が継続される保証はありません。 開発者は募集中です。
使い方
- ユーザーオブジェクトを作成して詳細を取得
情報を更新する時は、Userオブジェクトを再作成してください。updateメソッドも追加予定。
import mildom
user_id = 12345678
#8桁のIDを指定してユーザーオブジェクトを作成
user = mildom.User(user_id)
# bool値でライブ中かどうかを取得
print(user.is_live)
# プロフィールの画像URLを取得
print(user.avatar_url)
# レベルを取得
print(user.level)
- ライブ中かどうかだけを取得
import mildom
user_id = 12345678
if mildom.is_live(user_id):
print('now on live')
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.
Source Distribution
mildom-1.0.1.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mildom-1.0.1.tar.gz.
File metadata
- Download URL: mildom-1.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16da97b5ce7db07f80ddf58dc614d9f90eab074cdaf7cb15cd4f93743522c22b
|
|
| MD5 |
911e92d4d3ff4c7675f5f34442e809ee
|
|
| BLAKE2b-256 |
6646cf80ed6aba2c745ddcfa034d5ff51b3bc64007d0c62fefdca4969e775844
|
File details
Details for the file mildom-1.0.1-py3-none-any.whl.
File metadata
- Download URL: mildom-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81ed22b47e6572e057813f77fb41db1cd4bc737eadbc16e1cb4b24ba7b7d909a
|
|
| MD5 |
cea2b2821c645ca88e33623921bd573a
|
|
| BLAKE2b-256 |
ad6a1e12b3f1bd4a810c9f439f4dab7ce3e40aeaaf143427603c736b0565fbe9
|