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.

Source Distribution

mattes-allegro-pl-0.9.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

mattes_allegro_pl-0.9.1-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page