antichat 0.0.7
pip install antichat
Latest version
Released:
Simple forum.antichat.ru wrapper
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: drygdryg
- Tags wrapper, scraper, antichat
- Requires: Python >=3.6
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
Python wrapper for https://forum.antichat.ru/
Installation
pip install antichat
Or you can install from source with:
git clone https://github.com/drygdryg/antichat_python.git
cd antichat_python
python setup.py install
Usage
Posting
import antichat
client = antichat.Client(username='myusername', password='mypassword')
client.auth()
post_id = client.make_post(thread=12345, message='Hi there!')
client.delete_post(post_id=post_id, reason='No hello')
Reading threads
reader = client.get_reader(thread=12345)
all_posts = reader.read() # Read all posts sequentially
first_posts = reader.read(limit=20) # Get only first 20 posts
last_posts = reader.read(offset=400) # Skip first 400 posts
posts = reader.read(start_post=6789) # Read from post ID 6789
page = reader.read_page(page=5) # Read page #5
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: drygdryg
- Tags wrapper, scraper, antichat
- Requires: Python >=3.6
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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
Built Distribution
File details
Details for the file antichat-0.0.7.tar.gz
.
File metadata
- Download URL: antichat-0.0.7.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b391684bb12787b0f7b3072f9489c7e3559d810345834e1d50de9b908d8d784 |
|
MD5 | 9807b72fe619db37faa63cb2473e2865 |
|
BLAKE2b-256 | 9366fc91640c113a9c68af7c75a4c38ff8a62581d362298db534401641f13ce6 |
File details
Details for the file antichat-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: antichat-0.0.7-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fef36f276c879749380dcfdc57ef3a9251821ac1716c3527e8d6df2d4716b4a9 |
|
MD5 | 56a9d87bfad14ac00e4ce8c3331a643a |
|
BLAKE2b-256 | 1682d50427609643dfeb7ca4789f7372ea1a308e3cb69130d888cd304d27948f |