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.3.tar.gz (16.4 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.3-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dipx-0.1.3.tar.gz
  • Upload date:
  • Size: 16.4 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.3.tar.gz
Algorithm Hash digest
SHA256 a2c968c812e3b4d90b2872f20e36b41526c0b58686012dc57300cd515b976dcc
MD5 50641d52b81783376d4addf909a8ae3d
BLAKE2b-256 23879d385f5da88e9fb7e4d9d1f6dec6cf4e46c0ba7fe55dc2ee3458d0bac0de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dipx-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 19.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2e3690c31887ec65b7a36002e22a7fd59bf0dfeab7a070cc1a32b278e58a6ead
MD5 f09e40cc3f608521ff782e06cad24087
BLAKE2b-256 2e7b0c9b2a9f2f370be4bf5f0de3df4b619fbb0645794d8b49ac1424deaac300

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