Skip to main content

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

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

roulier-0.0.0.tar.gz (9.7 kB view hashes)

Uploaded Source

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