A library to access Mondial Relay Web Service from Python.
Project description
mondialrelay_pyt
A Python library to access Mondial Relay API V2 (WEB SERVICE DUAL CARRIER), in order to create shipping labels for outbound/return parcels.
Installation
Install it using pip. In a terminal :
pip install mondialrelay-pyt
Usage
Call make_shipping_label() function from mondialrelay_pyt giving it a dictionary.
The dictionary must contain the following keys:
"Login",
"Password",
"CustomerId",
"Culture",
"OutputFormat",
"DeliveryMode",
"DeliveryLocation",
"CollectionMode",
"ParcelWeight",
"SenderStreetname",
"SenderPostCode",
"SenderCity",
"SenderAddressAdd1",
"SenderCountryCode",
"RecipientStreetname",
"RecipientPostCode",
"RecipientCity",
"RecipientAddressAdd1",
"RecipientCountryCode",
The dictionary can contain the following optional keys :
"OrderNo",
"CustomerNo",
"SenderHouseNo",
"SenderAdressAdd2",
"SenderAdressAdd3",
"SenderPhoneNo",
"SenderEmail",
"RecipientHouseNo",
"RecipientAdressAdd2",
"RecipientAdressAdd3",
"RecipientPhoneNo",
"RecipientEmail",
Check the Mondial Relay documentation to see the expected values.
API Documentation
Mondial Relay API V2 documentation : https://www.mondialrelay.fr/media/123861/web-service-dual-carrier-v-27.pdf
Credits:
This is a fork from initial Akretion mondialrelay_pyt, made by Sébastien BEAU and Aymeric LECOMTE, thanks for their work that helped me a lot. This fork was made by Henri DEWILDE.
Copyright and License
mondialrelay_pyt is copyright (c) 2012 Akretion
mondialrelay_pyt is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
mondialrelay_pyt is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with mondialrelay_pyt. If not, see GNU licenses.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mondialrelay_pyt-0.2.1.tar.gz.
File metadata
- Download URL: mondialrelay_pyt-0.2.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73e5b35bff6e4bdc322c316d536b45eeaf25083ee8d0e2ac49de42d0e6466882
|
|
| MD5 |
064b28683acb2e9238733dd523249aa3
|
|
| BLAKE2b-256 |
97fb80dbc76f4e37f8d48d5c3012167846bd2930a92d15157d0b0167c0c458aa
|
File details
Details for the file mondialrelay_pyt-0.2.1-py3-none-any.whl.
File metadata
- Download URL: mondialrelay_pyt-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4af311ae79296d252a5c11aec87a96b60661eca1c5f98a09c2b37b03b4615c1c
|
|
| MD5 |
90540be13e7c199de6d8075e7d7c38ad
|
|
| BLAKE2b-256 |
81374ccab0f0a5316e75c181b8df392c1f3df1454d3c7bf6307b1ff9b55b0916
|