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.1.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.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dipx-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d3d744591e8fd9f3bb4544313f98d3e2033e167e1741132120e58d30b59cc8e7
MD5 a96fac4977213c83f1b61fc76eebd7a6
BLAKE2b-256 a6a5023134e4cbda22ebfa16dc3a5990fdba539968ac82acabd61a4f70821a76

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dipx-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fcdbbc9077299cb46328064619bbe6772b75e93717c20b45925b5babd913a501
MD5 a5f49ab9fbee1546a5e3b5cec0f41231
BLAKE2b-256 ada4d4854308be78ee62ef8af603d31d1f8e6e5fe276007506fdcfc04df9c200

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