A python API wrapper for blocket.se
Project description
BlocketAPI
BlocketAPI allows users to search blocket.se for ads.
Blocket is one of Sweden's largest online marketplaces. It was founded in 1996 and allows users to buy and sell a wide range of items, including cars, real estate, jobs, services, and second-hand goods. The platform is known for its extensive reach and user-friendly interface, making it a popular choice for Swedes looking to purchase or sell items quickly and efficiently.
[!NOTE]
Blocket recently released a new version of their site which caused this package to break. But do not fear, we are actively working to try and restore all functionality. More info in issue #43.
🧑💻️ Install
Install BlocketAPI via PyPI...
pip install blocket-api
or use blocket-api.se without installing anything!
💁♀️ Usage
from blocket_api import BlocketAPI, Category, Location, SortOrder
api = BlocketAPI()
result = api.search(
"Vinterdäck Audi",
sort_order=SortOrder.PRICE_ASC,
locations=[Location.STOCKHOLM, Location.UPPSALA],
category=Category.FORDONSTILLBEHOR,
)
📝 Notes
- REST API: https://blocket-api.se
- Source repo: https://github.com/dunderrrrrr/blocket_api
- PyPI: https://pypi.org/project/blocket-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 blocket_api-0.3.9.tar.gz.
File metadata
- Download URL: blocket_api-0.3.9.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
762f6eb6473c42c5030cd4858da7ac902926847a108d1013b6713881be11f7b9
|
|
| MD5 |
5f8052ac8cd8315646d10c9192331e8c
|
|
| BLAKE2b-256 |
031eeb830b02dd9f4a36fc698ce9f3030762d61ca0e06afdb7f66f2a73d5fb99
|
File details
Details for the file blocket_api-0.3.9-py3-none-any.whl.
File metadata
- Download URL: blocket_api-0.3.9-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af2ccea209739fc2bce86acf8f00a43278ec1631cfd323e9c0aaf5582c4ffa79
|
|
| MD5 |
9477cccc143d4d84d53987ba9a2e0fe3
|
|
| BLAKE2b-256 |
30cdc8d81fc2bc847f91faf33b9864aa6271f3651b8e849826e4198f870f60b7
|