Wrapper for the SimpliRoute service API
Project description
PySimpliRoute
=======
Wrapper for the SimpliRoute service API
Installation
------------
::
pip3 install pysimpliroute
Usage
-----
::
from pysimpliroute import simpliroute as sr
client = sr.Client(token='token_from_perfil')
params = {
"order": 1,
"title": "Dansanti Test1",
"address": "Parcela 19, culiprán, Melipilla, Chile",
"latitude": "-33.774290",
"longitude": "-71.250123",
"contact_name": "Daniel",
"contact_phone": "+123413123212",
"contact_email": "apu@example.com",
"reference": "invoice_id",
"notes": "Leave at front door",
"planned_date": "2018-08-19",
"window_start": "19:00",
}
client.send_visit(params)
=======
Wrapper for the SimpliRoute service API
Installation
------------
::
pip3 install pysimpliroute
Usage
-----
::
from pysimpliroute import simpliroute as sr
client = sr.Client(token='token_from_perfil')
params = {
"order": 1,
"title": "Dansanti Test1",
"address": "Parcela 19, culiprán, Melipilla, Chile",
"latitude": "-33.774290",
"longitude": "-71.250123",
"contact_name": "Daniel",
"contact_phone": "+123413123212",
"contact_email": "apu@example.com",
"reference": "invoice_id",
"notes": "Leave at front door",
"planned_date": "2018-08-19",
"window_start": "19:00",
}
client.send_visit(params)
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
pysimpliroute-0.1.0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for pysimpliroute-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 901c293408a39bc6da923e503a6758df3f1b2fd22acc8678de3c1c4e62f0fd16 |
|
MD5 | 095622bd945d5dac0d2440685481127d |
|
BLAKE2b-256 | e054829bfa08220ed1cdcdbcb42fec4121598cf3bbc5289bc4ebecc83eabc5cf |