Skip to main content

五彩 Python API

python API for wucai ( https://www.wucainote.com , https://marker.dotalk.cn )

PyPI

安装 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wucai-0.1.2.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wucai-0.1.2-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file wucai-0.1.2.tar.gz.

File metadata

  • Download URL: wucai-0.1.2.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wucai-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ba2bade2d25847cfa816acf179c8cbce65e9fc026f2e9ebdbf1da776799be46d
MD5 1ad9954aaad34ea12dd1609bc5d99340
BLAKE2b-256 a407469bfc0e977bf7030eee77563a49e1258e14e17376cac3399480745bc4ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for wucai-0.1.2.tar.gz:

Publisher: ci-cd.yml on Benature/wucai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wucai-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: wucai-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wucai-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d1c6592d8c3475d47ceca523f29eafe1aaafd5113fc5a9a0f83d75e9a7b12043
MD5 8303d4de804575b1ac4a234db78601e5
BLAKE2b-256 b1bf38d98ca8cbe24b147e1879f1a8f547adbdcaadd1b8952e51eb06c5a20970

See more details on using hashes here.

Provenance

The following attestation bundles were made for wucai-0.1.2-py3-none-any.whl:

Publisher: ci-cd.yml on Benature/wucai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

0.0.3

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page