This library provides a pure Python client for Wallapop. It works with Python versions from 2.6+ and Python 3.
## API
Already implemented:
* User:
* Profile.
* Sold items.
* Unsold published items.
* Reviews sent to others.
* Reviews received by others.
* Items search.
Other endpoints will be implemented as needed or requested.
## Installing
You can install wallapopy using:
```
$ pip install wallapopy
```
## Using
The motivation for this project was to enable research about reputation in the Sharing Economy. Because I needed lots of data, it includes not only a _client_ but also a _request builder_ which can be used together with [Scrapy](https://github.com/scrapy/scrapy).
### Client
```python
>>> from wallapopy import WallapopClient
>>> client = WallapopClient()
>>> client.user(40000000)
{u'gender': u'M', u'image': {u'averageHexColor': u'565b51', u'pictureId': 148033140...
```
### Request Builder
It returns how to query the data: at the moment the url and HTTP method as nothing more is needed for the implemented endpoints.
```python
>>> from wallapopy import WallapopRequestBuilder
>>> request_builder = WallapopRequestBuilder()
>>> request_builder.user(40000000)
{'method': 'GET', 'url': 'http://pro2.wallapop.com/shnm-portlet/api/v1/user.json/40000000?'}
```
Metadata
Release files for wallapopy 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wallapopy-1.0.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for wallapopy-1.0.3-py2.py3-none-any.whl |
Release files / wallapopy-1.0.3-py2.py3-none-any.whl
| Download URL | wallapopy-1.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bae631fa5df6e09e1c5d536b2f0daa9bf6106ffe9e7b321c61c105cb3468bb7b
|
|
BLAKE2b-256 checksum How to use checksums |
ee9405291bc8bb91f83602f46db24b87996e1f0f5719492c962829a9c10813d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for wallapopy 1.0.3
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.