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.2b2.tar.gz (16.6 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.2b2-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file wucai-0.0.2b2.tar.gz.

File metadata

  • Download URL: wucai-0.0.2b2.tar.gz
  • Upload date:
  • Size: 16.6 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.2b2.tar.gz
Algorithm Hash digest
SHA256 47d4e1effd0af4a8226d27347c3aa71fa4585fde588374bbe479e6863514bd3e
MD5 d0cbca9ef9c713e4e4f2456e81b1b730
BLAKE2b-256 c468c4f3956de842c46379af139ad61d474d408be37d21c32826ea3e6a7c4f7d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: wucai-0.0.2b2-py3-none-any.whl
  • Upload date:
  • Size: 16.3 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.2b2-py3-none-any.whl
Algorithm Hash digest
SHA256 bade7d5ffa3f559b13c2bc2cfee7567dfded1912b4d18d2a06baa800024717ff
MD5 1dcaaacb170c50bea8dfbe67252d718a
BLAKE2b-256 23b8cce0c69ef169da3251fde35c11bdd582953b9cb20d9565108751f7c27dc6

See more details on using hashes here.

Provenance

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