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

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