Skip to main content

Python client for Allegro.pl API

Project description

https://travis-ci.com/mattesilver/allegro-pl.svg?branch=master https://img.shields.io/pypi/v/mattes-allegro-pl.svg https://codecov.io/gh/mattesilver/allegro-pl/branch/master/graph/badge.svg

Supports both Rest and SOAP APIs

Usage:

import allegro_pl
cs = ClientCodeStore('CLIENT ID','CLIENT SECRET')
ts = TokenStore('ACCESS TOKEN','REFRESH TOKEN)

auth = ClientCredentialsAuth(cs, ts)
allegro = allegro_pl.Allegro(auth)

rest_service = allegro.rest_service()

categories = rest_service.get_categories(cat_id)

# access to soap service
soap_service = allegro.soap_service()

# direct access to rest and soap clients:
rest_service = allegro.rest_client()
soap_client = allegro.soap_client()

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 mattes-allegro-pl, version 0.9.1
Filename, size File type Python version Upload date Hashes
Filename, size mattes_allegro_pl-0.9.1-py3-none-any.whl (7.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mattes-allegro-pl-0.9.1.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page