Skip to content

HansHans135/cbmc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

麥塊匿名發文平台 api for python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages