Skip to main content

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 )

安装 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.1.tar.gz (15.7 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.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wucai-0.0.1.tar.gz
  • Upload date:
  • Size: 15.7 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.1.tar.gz
Algorithm Hash digest
SHA256 e188387eae427c91c7fd200d20c8c9745fa4b342e0ff6bb71561bfbff68af98f
MD5 14a321702e126a77927cd6851b3eb7f7
BLAKE2b-256 49088cae4be26d842887a7de17f61f284837d499f0b93db25eba204d896245de

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: wucai-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 affc2f4f9c0d651860b1b733c7110b89b43f7c7550e02015c02f442f6a40e3ec
MD5 de4c19b0e84a47975e5278b37d267a7f
BLAKE2b-256 15675b6f35818c92236a3bd1b295d211a671dcb208fe4f70866ce4de93ce1b29

See more details on using hashes here.

Provenance

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