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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wucai-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 564fc3157fb65ff41d17d0a57deb39939761f6657fb296bcad7e33402b0e5e78
MD5 86a4398f9156444b4d4a580684847951
BLAKE2b-256 c1c715c8209f18742de4d2a6b02b6c6850bedbd839aea799ff5c5c2f2532c701

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: wucai-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab94e051113c68d2061b0dbe502e792180fb28125a7b98b84c73c4725575d22f
MD5 5b5961b44b7b405d4f9e622ce12db689
BLAKE2b-256 23c329669f8a1347def01f7248440e5e90ee2e496e9e5d374855b542fd20c259

See more details on using hashes here.

Provenance

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