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.9

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.9
File Size Uploaded Provenance
aiosellers-0.1.9.tar.gz 267.0 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 396.1 kB

Release files / aiosellers-0.1.9.tar.gz

Download URL aiosellers-0.1.9.tar.gz
Size 267.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ddc4ac9c96289d7fb48377709729faa5179e7252631f2ffac62f0882d2d54841
BLAKE2b-256 checksum
How to use checksums
222266409f87f03edf6339b96fab95ac1730051c0c7b9ff6b3aad52a327a7e0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.1

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

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

Security for aiosellers 0.1.9

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