Skip to main content

Asynchronous boosty wrapper with some utils

Project description

BoostyPy

Boosty Wrapper

PyPI - Version PyPI - Python Version Hatch project


Table of Contents

Installation

pip install boosty

License

boosty is distributed under the terms of the MIT license.

[!IMPORTANT] !WARNING! this version of library is very unstable

If you use it, contact maintainer to help make it stable

Usage

Optional: specify IGNORE_MISSING_AND_EXTRA_FIELDS environment variable to disable 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
    • video
    • entities parsing

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

boosty-0.0.21.tar.gz (39.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boosty-0.0.21-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file boosty-0.0.21.tar.gz.

File metadata

  • Download URL: boosty-0.0.21.tar.gz
  • Upload date:
  • Size: 39.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.25.2

File hashes

Hashes for boosty-0.0.21.tar.gz
Algorithm Hash digest
SHA256 929857be9ef254688306bec3ee924910d3bb7d6197a54a95e55849c968af5504
MD5 a5ba8401e022831ed3355f1b7574bf2e
BLAKE2b-256 8985353269614997bb6c0bb286e14a37dc1770ef72369e2712d9f1c978860229

See more details on using hashes here.

File details

Details for the file boosty-0.0.21-py3-none-any.whl.

File metadata

  • Download URL: boosty-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.25.2

File hashes

Hashes for boosty-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 8a06bc3c3bcb75dafd03051b89fdeeb83aa1917343bd8c6a5d500ef9a15bbada
MD5 f4c8c901f8cd5b96c63f1e1c86c4bddd
BLAKE2b-256 14fe5bbf6f24ed7d27342fc76ee2c2ce19b837395500eeb3b62e9a60c1ddffd0

See more details on using hashes here.

Supported by

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