Skip to main content

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

Project description

五彩 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

Project details


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.0.3.tar.gz (17.1 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.0.3-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wucai-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a563553df31b7de7c1c562e04901d45f6b57fa200b8c1698ccb80441126345a6
MD5 f90fda8ae4c04f455d188b80b83dce41
BLAKE2b-256 4cac880a439f1310f5ff9cdeb5cd08a4566ae8e4b76ca6b9f5eb340872a47674

See more details on using hashes here.

Provenance

The following attestation bundles were made for wucai-0.0.3.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.0.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for wucai-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d8d0becfeed46fab0e9b2c7d8cd625340df0eaff1afba3f065746f32469edd37
MD5 a4b438b852c5ffde791d2f2b8acca4ff
BLAKE2b-256 51abf53e9054594e4240ba6579f773f755c9eeba3c17d4475ddb3242cf754c33

See more details on using hashes here.

Provenance

The following attestation bundles were made for wucai-0.0.3-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.

Supported by

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