Skip to main content

Python client library for dip-x.store marketplace

Project description

dipx

Python client for the dip-x.store marketplace.

pip install dipx
from dipx import DipXClient

client = DipXClient()
profile = client.login("Lincoln", "your_password")

print(profile.username)  # Lincoln
print(profile.id)        # 10434

bal = client.get_balance()
print(f"Total: {bal.total} ₽ (available {bal.available} ₽, frozen {bal.frozen} ₽)")

for p in client.get_my_products():
    print(f"[{p.id}] {p.title}{p.price} ₽  ({p.status})")

client.logout()

See the full method reference below.

Features

  • 🔐 login / logout / profile / change password
  • 💰 balance, transactions, deposit (lolz, platega, anypay, cryptobot, ...)
  • 📦 products: list / create / update / delete / hide / show / bulk-ops
  • 🚀 bump: free / paid + plugin-based auto-bump
  • 🛒 orders: list, refund, complaint
  • 💬 chat: list conversations, get/send/load older messages, media, pin, delete
  • 🚫 block / mute users + blocklist
  • ❤️ wishlist: check / toggle / add / remove
  • ⭐ reviews: leave / reply / list
  • 🔔 notifications: get / update settings
  • 🔗 integrations: Telegram / VK link & unlink
  • 📊 stats: heatmap, today's earnings, dashboard

Exception types

from dipx import (
    AuthError,
    NotFoundError,
    ValidationError,
    InsufficientBalanceError,
    RateLimitError,
    DipXError,
)

All exceptions carry a status_code (HTTP) and optional payload (parsed JSON body).

API overview

Group Methods
Auth login, logout, me
Profile get_profile, update_profile, change_password
Balance get_balance, get_transactions, create_deposit, request_withdrawal
Products get_my_products, get_product, create_product, update_product, delete_product, hide_product, show_product, toggle_product_visibility, bulk_hide_products, bulk_show_products
Bump get_bump_info, bump_product, bump_all_free, setup_auto_bump, cancel_auto_bump, resume_auto_bump, buy_auto_bump_plugin
Orders get_orders, get_order, request_refund, confirm_order, cancel_order, dispute_order, file_complaint
Chat get_conversations, get_unread_count, get_messages, get_older_messages, send_message, get_media, pin_conversation, delete_conversation
Block / Mute block_user, mute_user, get_blocked_users
Wishlist check_wishlist, toggle_wishlist, add_to_wishlist, remove_from_wishlist
Reviews leave_review, reply_to_review, delete_review_reply, get_user_reviews
Notifications get_notification_settings, update_notification_settings
Integrations link_telegram, unlink_telegram, unlink_vk
Stats get_activity_heatmap, get_today_earnings, get_stats

License

MIT

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

dipx-0.1.2.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

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

dipx-0.1.2-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file dipx-0.1.2.tar.gz.

File metadata

  • Download URL: dipx-0.1.2.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for dipx-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2a9780ede5bf4a3fec2ba35de5397ca4ee441f49565d8ffda5bd75751fc46fb7
MD5 2027a100f10381550536ce9a1f2d6acc
BLAKE2b-256 a67c88e49f533b77c134c9c45b4a28d1387d9671372b952e5cd51c754d6062db

See more details on using hashes here.

File details

Details for the file dipx-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: dipx-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for dipx-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7a19a4e630b0df33347d48180a187c66b520198c45cae1f6af8e69d039c48920
MD5 9cac2045c5bce4b0dac4fbbb286541df
BLAKE2b-256 41ac0d198e3b1a74ff49489bcd21d59b08ac06cfcc9fe59008d782389e67c3f9

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