Simple AnoBBS API wrapper
Project description
AnoBBS API Wrapper
AnoBBS API 的 Python 简易封装库。
示例
获取串内容
from anobbsclient import Client
import os
client = Client(
user_agent=os.environ["MY_ADNMB_CLIENT_USER_AGENT"],
host="adnmb2.com",
)
luwei_thread = client.get_thread_page(49607, page=1)
print(luwei_thread.content)
#=> 这是芦苇
术语
- 「卡99」
- 访问串的100页之后的页面,响应的会是100页的内容。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anobbs-client-0.0.0.tar.gz
(13.5 kB
view hashes)
Built Distribution
Close
Hashes for anobbs_client-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52291f7b53992d9f52e60b2d9adbbe428ad4128d49acc38d36eae4041c15c6ad |
|
MD5 | 87f71620ead70bb17ef6a579ba03aa58 |
|
BLAKE2b-256 | 71b944d10161ba15c53850dfaf99086d4097ca8020aec42237d5801815e62cab |