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.

Filename, size & hash SHA256 hash help File type Python version Upload date
mattes_allegro_pl-0.7.1-py3-none-any.whl (7.6 kB) Copy SHA256 hash SHA256 Wheel py3
mattes-allegro-pl-0.7.1.tar.gz (5.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page