五彩 Python API
python API for wucai ( https://www.wucainote.com , https://marker.dotalk.cn )
安装 Install
pip install wucai
使用 Usage
token 请在网页 F12 - Network 中获取
from wucai import WuCai
token = "eyJxxxxxx" # your Bearer token here
tags = "待读"
wucai = WuCai(token)
# 根据 tag 搜索卡片
cards_response = wucai.indexCardList(tags=tags)
for card in cards_response:
print(card)
break
# 根据 tag 搜索笔记
notes_response = wucai.searchTagNote(tags=tags)
if notes_response['code'] == 1:
for note in notes_response['data']['list']:
print(note)
break
Metadata
Release files for wucai 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wucai-0.1.2.tar.gz | 17.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wucai-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.3 kB
Release files / wucai-0.1.2.tar.gz
| Download URL | wucai-0.1.2.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba2bade2d25847cfa816acf179c8cbce65e9fc026f2e9ebdbf1da776799be46d
|
|
BLAKE2b-256 checksum How to use checksums |
a407469bfc0e977bf7030eee77563a49e1258e14e17376cac3399480745bc4ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 16, 2025.
Transparency logRelease files / wucai-0.1.2-py3-none-any.whl
| Download URL | wucai-0.1.2-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1c6592d8c3475d47ceca523f29eafe1aaafd5113fc5a9a0f83d75e9a7b12043
|
|
BLAKE2b-256 checksum How to use checksums |
b1bf38d98ca8cbe24b147e1879f1a8f547adbdcaadd1b8952e51eb06c5a20970
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 16, 2025.
Transparency log