Skip to main content

cbmc

麥塊匿名發文平台 api for python

安裝

pip install cbmc

使用

from cbmc import onpost
import cbmc

#當有新文章時
async def on_post(updated):
    print(f"有新的資料!!\n{updated}")
onpost(on_update=on_post)

#用編號取得文章(無則返回None)
cbmc.get_post(1)

#取得文章列表(最大300)
cbmc.post_list(1)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cbmc-0.0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cbmc-0.0.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file cbmc-0.0.2.tar.gz.

File metadata

  • Download URL: cbmc-0.0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for cbmc-0.0.2.tar.gz
Algorithm Hash digest
SHA256 eb07666c2c0ff1fe51c92a72612d960d0a0d3f88fbed48b5aa64bfa38c8f76ac
MD5 9150235bbcf31a4d704962b53139c5a6
BLAKE2b-256 7280a03b26e9032399494915c4edb4da48101eeb43848f36de9455d428bde6a6

See more details on using hashes here.

File details

Details for the file cbmc-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: cbmc-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for cbmc-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3bda3218afa2ecea54b0ef69f7d902016e7dc749fecd1c70600d03a78fc6a91b
MD5 fa9ca99ef043acb729613599abab8d92
BLAKE2b-256 0ffcac5a767ac34bfa1185cd420cb7d59ceaace19459c180df05a18f613d80da

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 files

Supported by

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