ldraney-ebay-sdk
Python SDK wrapping all eBay REST APIs. Uses ldraney-ebay-oauth for authentication and httpx for HTTP.
Install
pip install ldraney-ebay-sdk
Quick Start
from ebay_oauth import EbayOAuthClient
from ebay_sdk import EbayClient
oauth = EbayOAuthClient(
client_id="your-app-id",
client_secret="your-secret",
)
with EbayClient(oauth) as ebay:
# Search for items
results = ebay.buy_browse.search(q="vintage camera", limit=5)
# Get category suggestions
cats = ebay.commerce_taxonomy.get_category_suggestions("0", "camera")
# List orders
orders = ebay.sell_fulfillment.get_orders(limit=5)
# Manage inventory
ebay.sell_inventory.create_or_replace_inventory_item("MY-SKU", {
"product": {"title": "Test Item"},
"condition": "NEW",
"availability": {"shipToLocationAvailability": {"quantity": 1}},
})
Sandbox Mode
oauth = EbayOAuthClient(client_id="...", client_secret="...", sandbox=True)
ebay = EbayClient(oauth, sandbox=True)
Available APIs
| Property | API | Endpoints |
|---|---|---|
ebay.buy_browse |
Buy Browse | search, get_item, etc. |
ebay.sell_inventory |
Sell Inventory | items, offers, locations |
ebay.sell_fulfillment |
Sell Fulfillment | orders, shipping, disputes |
ebay.sell_account |
Sell Account | policies, programs, privileges |
ebay.sell_finances |
Sell Finances | payouts, transactions, transfers |
ebay.sell_marketing |
Sell Marketing | campaigns, ads, promotions |
ebay.sell_feed |
Sell Feed | tasks, schedules, templates |
ebay.commerce_taxonomy |
Commerce Taxonomy | categories, aspects, compatibility |
Development
poetry install
pytest tests/ -m integration # requires EBAY_CLIENT_ID, EBAY_CLIENT_SECRET
poetry build
License
MIT
Metadata
Release files for ldraney-ebay-sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ldraney_ebay_sdk-0.1.0.tar.gz | 10.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ldraney_ebay_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.6 kB
Release files / ldraney_ebay_sdk-0.1.0.tar.gz
| Download URL | ldraney_ebay_sdk-0.1.0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba43679ddf257fb0bd52745abf95644d7d1e49406114f8ddf1f16a1e8436bdf2
|
|
BLAKE2b-256 checksum How to use checksums |
26d24dc6472f957c7f0a5e30d4d6fe559d0577499925f51e785fc69b669d87bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.13.7 Darwin/25.2.0
|
Release files / ldraney_ebay_sdk-0.1.0-py3-none-any.whl
| Download URL | ldraney_ebay_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
932b7de61bc78cd21198ae4ef302d355a0f03acacda51ac771d7c20975066bc7
|
|
BLAKE2b-256 checksum How to use checksums |
5a798b1d8169b4199a380237cdb6c9518bcdd92bcc321020778290834dbc57bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.13.7 Darwin/25.2.0
|