Skip to main content

AdHoc Ediwheel XML API port to Python

Project description

Python EDIWHEEL - A Python package for data exchange in the tyre industry

DISCLAIMER: This is not an official EDIWHEEL package. It is a third-party implementation of the EDIWHEEL standard, and is in no way affiliated with any company or organization. Use at your own risk, no warranty is provided.

Summary

This package is a Python implementation of the EDIWHEEL standard for data exchange in the tyre industry. It is based on the EDIWHEEL standard.

This standard uses XML requests to make stock inquiries and to place orders. The responses are also in XML format.

Installation

The package can be installed using pip:

pip install ediwheel

Usage

To use this package, you will need to obtain API authentication credentials from a given supplier.

A config is instantiated as such:

from ediwheel import EdiConnectorConfig, EdiConnector

config = EdiConnectorConfig(
    host="https:/some_api_url.com",
    username="username",
    password="password",
    id="customer_id",
    timeout_s=10,
)

connector = EdiConnector(config)
connector.enquiry("EAN_CODE", "MANUFACTURER_CODE")

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

ediwheel-0.2.1.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

ediwheel-0.2.1-py3-none-any.whl (5.3 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