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.0.tar.gz
(9.7 kB
view details)
File details
Details for the file roulier-0.0.0.tar.gz
.
File metadata
- Download URL: roulier-0.0.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fb5a948171c223e915628fc7bb47cfdc204b06d550607ed32fff9a19ef15526 |
|
MD5 | 9c1da5a04228e7ff0e9e1117a529c134 |
|
BLAKE2b-256 | 17b13c14218b325d458e27e540412ad85828df793001dd3870cbdcf512766f8f |