Skip to main content

PyBoostyAPI is a powerful asynchronous Python library for seamless interaction with the Boosty.to API

Project description

🚀 PyBoostyAPI

PyBoostyAPI is a powerful asynchronous Python library for seamless interaction with Boosty.to through its internal API. It supports posts, subscribers, dialogs, sales, donations, and detailed statistics.

PyPI - Python Version PyPI - License GitHub stars


✨ Features

  • 🔐 Authentication with token auto-refresh
  • 📬 User dialog handling
  • 📊 Fetching statistics and sales data
  • 💬 Get free and paid subscribers
  • 📝 Create and delete posts
  • 💰 Get donation and subscription tier info

⚙️ Installation

pip install PyBoostyApi

Or manually:

git clone https://github.com/HOCKI1/py_boosty_api.git
cd py_boosty_api
pip install .

🔧 Basic Usage Example

import asyncio
from boosty_api import BoostyAPI

async def main():
    api = await BoostyAPI.create("auth.json")
    try:
        href = await api.get_blog_href()
        print("🔗 Blog href:", href)

        stats = await api.get_blog_stats() # Get stats of your Blog
        print("📊 Stats:", stats)

    finally:
        await api.close()

if __name__ == "__main__":
    asyncio.run(main())

🗂 auth.json Structure

{
  "access_token": "your_token",
  "refresh_token": "your_refresh_token",
  "expiresAt": 1722193100,
  "_clientId": "your_uuid"
}

📌 TODO

  • Posts
  • Subscribers
  • Dialogs
  • Donations
  • Sales
  • Auto token refresh
  • Media content (albums, images)
  • More common usable functions

📄 License

This project is licensed under the MIT License. See LICENSE for details.


🤝 Contact

Author: HOCKI1 Email: hocki1.official@yandex.ru Made with ❤️ for the Boosty creator community.

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

pyboostyapi-1.0.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

pyboostyapi-1.0.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file pyboostyapi-1.0.1.tar.gz.

File metadata

  • Download URL: pyboostyapi-1.0.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pyboostyapi-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8f2e0c11ff927b710e9ab2277122871408974f5b5f8d3134624631be71063a0a
MD5 3672c38cecbd79bc21497ed052d84efa
BLAKE2b-256 1c42e1606c4548029806904dd412d4fd64dd3775d84f0a81c4bc2f6932d4fb1d

See more details on using hashes here.

File details

Details for the file pyboostyapi-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyboostyapi-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pyboostyapi-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3720c70bc156422ae3f6f4ad883f13eaef7f8e0331a71e5e6d07018f7b96f963
MD5 9d138e34722b18f1c96e5a67651048fa
BLAKE2b-256 26615e030f785b77c73aebce3a6412f0ead3f7d2b5f3e3f7a015b09e88dc9f18

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