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.1.0.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.1.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wucai-0.1.0.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.1.0.tar.gz
Algorithm Hash digest
SHA256 c7bf9d48cbaf07e57f64077b208470948229561a37808b3f2464fb282f493982
MD5 33244e732e258b2af7448f69ae7cf9b6
BLAKE2b-256 9db19888c9c8f988aa67fdfc1341705fa8e2d12b37637458dafc7b9d7618697a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: wucai-0.1.0-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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7495aca2335f0f79521d9c67fa9a90ac84d192e67a03743952ca79d6472c1efa
MD5 24d469e05d764f19d9bab80c8a77fa4c
BLAKE2b-256 a5008b61f09e31f2128d69d249792798138bd0878d2a1f5efe2a8ce01a5bf2af

See more details on using hashes here.

Provenance

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