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/
Metadata
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 | Provenance | Actions |
|---|---|---|---|---|
| tradera_api-0.0.1.tar.gz | 3.3 kB | Without provenance | Details for tradera_api-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tradera_api-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for tradera_api-0.0.1-py3-none-any.whl |
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
|
Security for tradera_api 0.0.1
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.