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 hashes)