Asynchronous boosty wrapper with some utils
Project description
Boosty Wrapper
Table of Contents
Installation
pip install boosty
License
boosty is distributed under the terms of the MIT license.
!WARNING! this version of library is very unstable
If you use it, contact maintainer to help make it stable
Usage
Optional: specify DEBUG environment variable to enable strict schema validation
Optional: fill auth.json file with authentication data:
{
"access_token": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
"device_id": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"expires_at": 12345678900,
"refresh_token": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
Example:
from boosty.api import API
api = API()
response = await api.get_post("boosty", post_id="c9fb8a19-c45e-4602-9942-087c3af28c1b")
print(response.title)
# 'Добро пожаловать на борт!'
More examples in examples/ folder
TODO for stable release
- api schema
- add access levels logic for requests
- minimal docs
- useful properties for models
- merge reply comment with comment model
- add examples
- render text
- get video url
- get comment url
- add tests
- boosty profile
- comments
- replies
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file boosty-0.0.8.tar.gz.
File metadata
- Download URL: boosty-0.0.8.tar.gz
- Upload date:
- Size: 38.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd91f1613515369ae2aad9f63e5d3e9edb06822d968ad961814fa785858af8b6
|
|
| MD5 |
1d0f9a1d10538dc8e1afdfb9604bde3d
|
|
| BLAKE2b-256 |
073ecdaa67102010d3fbf84414fa8d2c76e4c9a852657ff25ba1b56d46186b10
|
File details
Details for the file boosty-0.0.8-py3-none-any.whl.
File metadata
- Download URL: boosty-0.0.8-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56d9b158eb9512c247f556a86877b920744ea14eec008e2737a11acc2e321ca8
|
|
| MD5 |
36c1cc0beef94dfb864a8ae6429b4086
|
|
| BLAKE2b-256 |
21f5739122724de26d2cb599d7c7f4cb4bcf6d1811717306712c3747a4920e0c
|