Label parcels without pain
Project description
Roulier
===
Roulier is a shipping library written in Python.
Usage :
```python
from roulier import roulier
laposte = roulier.get('laposte')
response = laposte.get({
"infos": {
"contractNumber": "12345",
"password": "password",
},
"service": {
"productCode": "COL"
},
"parcel": {
"insuranceValue": 0,
"nonMachinable": False,
"returnReceipt": False
},
"receiver_address": {
"country": "DE",
"zip": "93000"
}
}, "getProductInter")
print response
```
To get the full list of parameters:
```python
from roulier import roulier
laposte = roulier.get('laposte')
obj = laposte.api()
obj['infos']['contractNumber'] = '12345'
obj['infos']['password'] = 'password'
obj['service']['productCode'] = 'COL'
# ...
```
###Contributors
* [@hparfr](https://github.com/hparfr) ([Akretion.com](https://akretion.com))
* [@damdam-s](https://github.com/damdam-s) ([Camp2Camp.com](http://camptocamp.com))
===
Roulier is a shipping library written in Python.
Usage :
```python
from roulier import roulier
laposte = roulier.get('laposte')
response = laposte.get({
"infos": {
"contractNumber": "12345",
"password": "password",
},
"service": {
"productCode": "COL"
},
"parcel": {
"insuranceValue": 0,
"nonMachinable": False,
"returnReceipt": False
},
"receiver_address": {
"country": "DE",
"zip": "93000"
}
}, "getProductInter")
print response
```
To get the full list of parameters:
```python
from roulier import roulier
laposte = roulier.get('laposte')
obj = laposte.api()
obj['infos']['contractNumber'] = '12345'
obj['infos']['password'] = 'password'
obj['service']['productCode'] = 'COL'
# ...
```
###Contributors
* [@hparfr](https://github.com/hparfr) ([Akretion.com](https://akretion.com))
* [@damdam-s](https://github.com/damdam-s) ([Camp2Camp.com](http://camptocamp.com))
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
roulier-0.0.1.tar.gz
(9.7 kB
view details)
File details
Details for the file roulier-0.0.1.tar.gz
.
File metadata
- Download URL: roulier-0.0.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cca82d63afd5eb74319233af53ce39aca7a50fcaab9483392a7700e6d53a1a2e |
|
MD5 | b4384563b8db0065028b36a8a97a0e00 |
|
BLAKE2b-256 | 3e68089d4c2ad3756981833a49c1cead250fd05e4ed668deb7fc0b8ba0f0b9fe |