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.0.tar.gz (14.8 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.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dipx-0.1.0.tar.gz
  • Upload date:
  • Size: 14.8 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.0.tar.gz
Algorithm Hash digest
SHA256 57e05ce8dd66ee5736f22e9010088f5b54ffab1e7d394926b2706a58d70e1d09
MD5 d3542943560f6208e2851c9096fd7ea4
BLAKE2b-256 6bd63348f2b5c483be4d19d8ccd80e581227b1d312869c6c31441ff4179d01ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dipx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 938128ac3be6723a85ca224ecdfad8e01880e2be77bf0613bfc5ac6181ac96eb
MD5 a6abaf6b4c97e97ec44b843fa8fa6607
BLAKE2b-256 d9a69e6a1cd7fea2f7df171a05ac8214a37d9005094a51e92c60e9f243bdbfce

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