A python API wrapper for tradera.se
Project description
TraderaAPI
This is an unofficial Python wrapper for the Tradera API, Sweden’s largest online marketplace. It simplifies interaction with Tradera's services, such as searching and filtering listings in all categories, returning all data in raw json format.
Tradera is Sweden's largest online marketplace, offering a platform for buying and selling new and second-hand items through auctions and fixed-price listings. It hosts millions of listings across categories like fashion, electronics, home goods, and collectibles, serving both private individuals and professional sellers.
✨ Features
- Make searches across all of Tradera
- Filters for region, categories, price range, and more.
🧑💻️ Install
TraderaAPI is available on PyPI.
pip install tradera-api
💁♀️ Usage
This will search for term "ESP32" across all categories using AuctionType.all and Sorting.best_hit, which is the default Tradera search behavior.
>>> from tradera_api import TraderaAPI
>>> print(TraderaAPI().search("ESP32"))
🔎 Filtering
Use Sorting, AuctionType, Category and price to filter your search. For all available options, see each Enum respectively.
>>> from TraderaAPI import Sorting, AuctionType, Category
>>> TraderaAPI().search(
query="ESP32",
category=Category.hobby,
price=(50, 200), # from 50 SEK to 200 SEK
auction_type=AuctionType.buy_now,
sorting=Sorting.time_left
)
📝 Notes
- Source repo: https://github.com/dunderrrrrr/tradera_api
- PyPI: https://pypi.org/project/tradera-api/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tradera_api-0.0.1.tar.gz.
File metadata
- Download URL: tradera_api-0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.10 Linux/6.11.0-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4069861dca4adc6f79fd25a6d33e5706937bdb5e9d896a269166a273de6e99f5
|
|
| MD5 |
559bf41820c9bde5279263ebb52609d5
|
|
| BLAKE2b-256 |
a1babaef6f6afe460f27325f2b73845bd2f5b8d183e9a07def36427ed1bbbab9
|
File details
Details for the file tradera_api-0.0.1-py3-none-any.whl.
File metadata
- Download URL: tradera_api-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.10 Linux/6.11.0-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
791b19b565ac6960fcbd15da6ab3e0015aeac2372b5933935b9ed131be79386b
|
|
| MD5 |
6a7188cf6dba1f0cdb6cdfe2fa71d6d0
|
|
| BLAKE2b-256 |
f65647db99015f52f2415750944ec9b80516b2e39094498d25bb219915deddac
|