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.

!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)
# 'Добро пожаловать на борт!'

TODO for stable release

  • api schema
    • add access for requests
  • minimal docs
  • tests

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

Uploaded Source

Built Distribution

boosty-0.0.5-py3-none-any.whl (14.7 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