Skip to main content

All-In-One Sellers API

Python License: Apache 2.0

Asynchronous Python wrapper for working with digital trading platforms. Implemented modules: PlayerOK and FunPay.

Python


Installation

pip install aiosellers

or via uv:

uv add aiosellers

Requirements: Python 3.12+


Configuration

Token can be passed to the constructor or via environment variable:

export PLAYEROK_ACCESS_TOKEN="your_token_here"
export FUNPAY_GOLDEN_KEY="your_golden_key"

Quick Start: PlayerOK

import asyncio
from aiosellers.playerok import Playerok

async def main():
    async with Playerok() as client:
        me = await client.account.me()
        profile = await client.account.profile()
        print(f"{me.username} | {me.email}")
        print(f"Rating: {profile.rating} ({profile.reviews_count} reviews)")
        print(f"Available: {profile.balance.available}")
        print(f"Pending: {profile.balance.pending_income}")

asyncio.run(main())

Quick Start: FunPay

import asyncio
from aiosellers.funpay import FunPay

async def main():
    async with FunPay() as client:
        me = await client.account.profile()
        balance = await client.finance.balance()
        print(f"{me.username} id={me.id}")
        print(f"RUB {balance.rub} | USD {balance.usd} | EUR {balance.eur}")

asyncio.run(main())

Examples

Runnable samples are in examples/.

Script What it does
playerok_account.py Profile and balance
playerok_chats.py Unread chats and latest messages
playerok_deals.py Paid and sent deals
playerok_market.py Search items and average price
playerok_bot.py Commands and deal events
transactions.py Pending transactions and cards
funpay_account.py Profile, balance, transactions
funpay_orders.py Sales and an order card
funpay_chats.py Chats and message history
funpay_lots.py Your lots
funpay_bot.py New order and a chat reply
funpay_reviews.py Reply to a new review
funpay_backtest.py Replay saved chat history
uv run python examples/playerok_account.py
uv run python examples/funpay_account.py

Development Status: PlayerOK

Module Raw API High-level
Account ✅ ✅
Games / Categories ✅ ✅
Items ✅ ✅
Deals ✅ ✅
Chats ✅ ✅
Transactions ✅ ✅
Event Feed ✅ ✅

Acknowledgments

Based on ideas from PlayerokAPI, FunPayAPI, FunPayCardinal, and fpx.


Built by developers for developers.

Metadata

Release files for aiosellers 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiosellers 0.1.7
File Size Uploaded Provenance
aiosellers-0.1.7.tar.gz 266.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aiosellers 0.1.7
File Interpreter ABI Platform
aiosellers-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 394.7 kB

Release files / aiosellers-0.1.7.tar.gz

Download URL aiosellers-0.1.7.tar.gz
Size 266.1 kB
Tags Source
SHA-256 checksum
How to use checksums
de4e5409c6aa1253653770ac1241eeda1a6106461c8bfc4a25535173760821f1
BLAKE2b-256 checksum
How to use checksums
5faf31a3825bc732fed64d1dec86d2dd2a8e7b5ccefc159cb37470fe533de4f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.1

Release files / aiosellers-0.1.7-py3-none-any.whl

Download URL aiosellers-0.1.7-py3-none-any.whl
Size 128.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ece4775e64ebe5c9dc51f256ac93e6d8f0c906718886e6effa4caf8ffa1da830
BLAKE2b-256 checksum
How to use checksums
9f37e913230b7932af59627801d5306ed5deb50207cdd94bdc573a8bf89d6798
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.1

Security for aiosellers 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page