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/
Release files for tradera_api 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tradera_api-0.0.1.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tradera_api-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / tradera_api-0.0.1.tar.gz
| Download URL | tradera_api-0.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4069861dca4adc6f79fd25a6d33e5706937bdb5e9d896a269166a273de6e99f5
|
|
BLAKE2b-256 checksum How to use checksums |
a1babaef6f6afe460f27325f2b73845bd2f5b8d183e9a07def36427ed1bbbab9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.10 Linux/6.11.0-1014-azure
|
Release files / tradera_api-0.0.1-py3-none-any.whl
| Download URL | tradera_api-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
791b19b565ac6960fcbd15da6ab3e0015aeac2372b5933935b9ed131be79386b
|
|
BLAKE2b-256 checksum How to use checksums |
f65647db99015f52f2415750944ec9b80516b2e39094498d25bb219915deddac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.10 Linux/6.11.0-1014-azure
|