Skip to main content

A Python client for Wallapop

Project description

# wallapopy

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](

### Client

>>> 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.

>>> from wallapopy import WallapopRequestBuilder
>>> request_builder = WallapopRequestBuilder()
>>> request_builder.user(40000000)
{'method': 'GET', 'url': ''}

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wallapopy, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size wallapopy-1.0.3-py2.py3-none-any.whl (5.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page