Skip to main content

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


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.dev16.tar.gz (12.2 kB view hashes)

Uploaded Source

Built Distribution

anobbs_client-0.0.0.dev16-py3-none-any.whl (19.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page